react-native-sdk icon indicating copy to clipboard operation
react-native-sdk copied to clipboard

[Android] Crash on press push notification

Open KarlosQ opened this issue 2 years ago • 2 comments

After update from 1.3.13 to 1.3.15 appears this error when press on a push:

Looks like you have configured linking in multiple places. This is likely an error since deep links should only be handled in one place to avoid conflicts. Make sure that:
- You don't have multiple NavigationContainers in the app each with 'linking' enabled
- Only a single instance of the root component is rendered
- You have set 'android:launchMode=singleTask' in the '<activity />' section of the 'AndroidManifest.xml' file to avoid launching multiple instances 
  • I use @react-navigation for deeplink.
  • I only have one NavigationContainer (and this navigation has linking enabled)
  • I have set singleTask in my activity

So seems that now Iterable, in the last version, its rendering a new instance of the root component

Can be this change in android-sdk? Screenshot 2023-07-14 at 10 24 43

KarlosQ avatar Jul 13 '23 08:07 KarlosQ

Thanks for surfacing this with our team, we will take a look

jena-chakour avatar Jul 18 '23 21:07 jena-chakour

We are experiencing this also.

ggustilo avatar Aug 09 '23 15:08 ggustilo