-
-
Notifications
You must be signed in to change notification settings - Fork 473
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Onclick Listener of FCM is not working on foreground mode : ANDROID 12 #764
Comments
@ollm Now foreground alert is visible but click is still crashing the app. Check the attachment... InShot_20220926_231527032.mp4 |
@Theamansinghrajput Can you put the stack trace from Firebase Crashlytics or Android Studio Logcat? to see what produces the crash. |
Non-fatal Exception: java.lang.IllegalArgumentException: com.labs.networks: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a PendingIntent. |
Are you using the latest version of the plugin? this bug is the same as this #746 and it is fixed in the latest versions |
Not fixed yet i am using updated plugin... @ollm |
Don't you have in Firebase others errors? |
@ollm After testing the main issue with launch-mode, plugin is not working on standard launch mode, this is working on singletask, singletop on both foreground and background. |
You should talk to @dpa99c, I don't have enough knowledge about the plugin to be able to help you find the cause of the error, sorry. |
Should be fixed in |
Bug report
CHECKLIST
I have read the issue reporting guidelines
I confirm this is a suspected bug or issue that will affect other users
Current behavior:
Expected behavior:
Steps to reproduce:
Screenshots
Environment information
cordova -v
cordova platform ls
cordova plugin ls
sw_vers
winver
Runtime issue
Android build issue:
node -v
ls platforms/android/.gradle
android:targetSdkVersion
inAndroidManifest.xml
sdkmanager --list | sed -e '/Available Packages/q'
iOS build issue:
node -v
Related code:
Console output
console output
Other information:
The text was updated successfully, but these errors were encountered: