Doc about Branch support

Hi! We’ve been using Branch for a few months without problems but since we updated to SDK 32, the Branch subscribed function is called with params when any user opens the app (even if he never used a branch link). This didn’t happen before the update.

The code is like in the doc:

Expo.DangerZone.Branch.subscribe((bundle) => {
  if (bundle && bundle.params && !bundle.error) {
    // `bundle.params` contains all the info about the link.
  }
});

Where can if I find a documentation about params? I saw that there’s a parameter + clicked_branch_link but I don’t know if it’s safe to depend on it.

Thanks.

Hey @cgraio,

Check out the react-native-branch documentation, https://github.com/BranchMetrics/react-native-branch-deep-linking#params-object

Good luck!

1 Like

Awesome! Thanks!

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.