react-native-push-notification icon indicating copy to clipboard operation
react-native-push-notification copied to clipboard

Indirect notification activity start (trampoline) from com.xxx blocked

Open mansimakwana25 opened this issue 1 year ago • 4 comments

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"

mansimakwana25 avatar Nov 09 '23 06:11 mansimakwana25

same problem for me

ericowhadi avatar Feb 23 '24 14:02 ericowhadi

Same problem for me too @mansimakwana25 did you fixed the issue ?

anshif10 avatar Jul 31 '24 09:07 anshif10

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

williamdes avatar Aug 06 '24 11:08 williamdes