Closed PulasthiAbey closed 5 months ago
What do you have in your Manifest for hte Launch mode of the Activity? If it's singleTask
(default, IIRC), you maybe able to try SingleTop
@alex-crookes I tried the SingleTop
Android resource linking failed error: 'SingleTop' is incompatible with attribute launchMode (attr) enum [singleInstance=3, singleInstancePerTask=4, singleTask=2, singleTop=1, standard=0]
I am getting this when I try SingleTop
. I am using singleTask
at the moment
Found a solution for this in a patch for react-native-notification
.
Find the patch here
Resolved
I have a React Native app with RN version
"react-native": "0.72.7"
, and usereact-native-notification
with version^5.1.0
for my notification service for both Android and iOS applications.The notification service works fine in iOS without any issues. The notification service for the Android app has some problems.
I am dealing with a reloading issue for Android versions 11 and above. Following is the scenario for the bug.
Steps
Open the Android app and keep it in the background
Receive notification for the app and click on the notification from the notification center
The app will open but the entire application gets reloaded
Accepted Criteria
Can anybody give me some sense into why this is happening?