React-native-branch-deep-linking-attribution: Incorrect integration documentation

Created on 5 Oct 2020  路  1Comment  路  Source: BranchMetrics/react-native-branch-deep-linking-attribution

Hi,

The documentation listed here https://help.branch.io/developers-hub/docs/react-native#swift is incorrect. Select the Objective-C tab and it reads as follows:
image

Highlighted portion should actually read (adding a !)

 if (![RNBranch application:app openURL:url options:options])  {
        // do other deep link routing for the Facebook SDK, Pinterest SDK, etc
  }

The example in the repo is correct and includes the !:
https://github.com/BranchMetrics/react-native-branch-deep-linking-attribution/blob/a69c730ba8bdce592b222e058555c493898cba48/examples/testbed_native_ios/ios/testbed_native_ios/AppDelegate.m#L30

Thanks

Most helpful comment

Hey! I actually agree with this issue. I was bamboozled when I was reading this.

>All comments

Hey! I actually agree with this issue. I was bamboozled when I was reading this.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

maxs15 picture maxs15  路  7Comments

jandrell-formoso picture jandrell-formoso  路  4Comments

danilobuerger picture danilobuerger  路  7Comments

rickardinho picture rickardinho  路  4Comments

terreb picture terreb  路  4Comments