@@ -1234,21 +1234,21 @@ This requires a native method call that must be made before JS has loaded. There
12341234 [RNBranch initSessionWithLaunchOptions:launchOptions isReferrable:YES];
12351235 ` ` `
12361236
1237- ### Using getLatestReferringParams to handle link opens
1238-
1239- The ` getLatestReferringParams` method is essentially a synchronous method that retrieves the latest
1240- referring link parameters stored by the native SDK . However , React Native does not support synchronous
1241- calls to native code from JavaScript, so the method returns a promise . You must ` await` the response
1242- or use ` then` to receive the result . The same remarks apply to the ` getFirstReferringParams` method.
1243- However, this is only a restriction of React Native . The purpose of ` getLatestReferringParams` is to
1244- retrieve those parameters one time . The promise will only return one result . It will not continue
1245- to return results when links are opened or wait for a link to be opened . This method is not intended
1246- to notify the app when a link has been opened.
1247-
1248- To receive notification whenever a link is opened, _including at app launch_, call
1249- ` branch.subscribe` . The callback to this method will return any initial link that launched the
1250- app and all subsequent link opens . There is no need to call ` getLatestReferringParams` at app
1251- launch to check for an initial link . Use ` branch.subscribe` to handle all link opens.
1237+ ### Using getLatestReferringParams to handle link opens
1238+
1239+ The ` getLatestReferringParams` method is essentially a synchronous method that retrieves the latest
1240+ referring link parameters stored by the native SDK . However , React Native does not support synchronous
1241+ calls to native code from JavaScript, so the method returns a promise . You must ` await` the response
1242+ or use ` then` to receive the result . The same remarks apply to the ` getFirstReferringParams` method.
1243+ However, this is only a restriction of React Native . The purpose of ` getLatestReferringParams` is to
1244+ retrieve those parameters one time . The promise will only return one result . It will not continue
1245+ to return results when links are opened or wait for a link to be opened . This method is not intended
1246+ to notify the app when a link has been opened.
1247+
1248+ To receive notification whenever a link is opened, _including at app launch_, call
1249+ ` branch.subscribe` . The callback to this method will return any initial link that launched the
1250+ app and all subsequent link opens . There is no need to call ` getLatestReferringParams` at app
1251+ launch to check for an initial link . Use ` branch.subscribe` to handle all link opens.
12521252
12531253### General troubleshooting
12541254
0 commit comments