when user clicks on a notification, a new react instance is added on top of the previous one, if the app is playing a song, the song is played as many time as there are react instances, and the backpress remove instance by instance
a project to clone to reproduce the bug:
[email protected]:ogostus/RNNIssueReproduction.git
Can you try adding this to your android/app/src/main/AndroidManifest.xml to ensure its not configuration problem?
<activity
android:name=".MainActivity"
...
android:launchMode="singleTop"
Can you try adding this to your android/app/src/main/AndroidManifest.xml to ensure its not configuration problem?
<activity android:name=".MainActivity" ... android:launchMode="singleTop"
it worked ! thank you @quarryman
Most helpful comment
Can you try adding this to your android/app/src/main/AndroidManifest.xml to ensure its not configuration problem?