Skip to content
This repository was archived by the owner on Jan 14, 2025. It is now read-only.

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

Open
mansimakwana25 opened this issue Nov 9, 2023 · 4 comments

Comments

@mansimakwana25
Copy link

mansimakwana25 commented Nov 9, 2023

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"
@ericowhadi
Copy link

same problem for me

@anshif10
Copy link

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

@williamdes
Copy link

williamdes commented Aug 6, 2024

This worked for me, RN 71
See: #2352 (review)

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

@anshif10
Copy link

anshif10 commented Sep 7, 2024

use notifee

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants