react-native-push-notification
react-native-push-notification copied to clipboard
Indirect notification activity start (trampoline) from com.xxx blocked
I'm getting this error while clicking on the action button from the Android 13 device "Indirect notification activity start (trampoline) from com.xxx blocked"
startActivity method is not working properly for Android 13 and above versions, I'm using "react-native-push-notification": "8.1.1" version with targetSdkVersion 33
I have also changed these two lines in node_modules/react-native-push-notification/android/build.gradle as per this #2352 but its not working for action button click(app is not launching)
- implementation "com.google.firebase:firebase-messaging:${safeExtGet('firebaseMessagingVersion', '21.1.0')}"
+ implementation "com.google.firebase:firebase-messaging:${safeExtGet('firebaseMessagingVersion', '23.3.1')}"
+ implementation "com.google.firebase:firebase-iid:21.1.0"
same problem for me
Same problem for me too @mansimakwana25 did you fixed the issue ?
This worked for me, RN 71 See: https://github.com/zo0r/react-native-push-notification/pull/2352#pullrequestreview-2220982311
Adding firebaseMessagingVersion = '23.1.2'
to ext
on android/build.gradle
Even 23.4.1
works for me
That said the firebase-iid
was not needed