-
Notifications
You must be signed in to change notification settings - Fork 374
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
Application crashes due to one signal when run on Android 12 device #1310
Comments
Howdy, Cheers |
@rgomezp thanks for your reply, well I don't call PendingIntent anywhere on the native side and it works fine when I remove only the onesignal sdk from package.json |
What device are you running this on? |
I've tried running it on an emulator with Android 12 installed and my Pixel 5 which also has Android 12 installed. It works fine for anything below Android 12 so far. |
Stack trace is same as OneSignal/OneSignal-Android-SDK#1442.
|
Thanks @nan-li! I guess I can close this then. The temporary fix seems to work as well. |
Created a PR for this here. Seems to resolve it for me at least. |
@dbilgin This is now fixed in the 4.3.2 release |
HI team , I have followed this all the steps but still this is not resolved for me with latest library version |
Description:
Android 12 recently made it mandatory to use
FLAG_IMMUTABLE
orFLAG_MUTABLE
, this makes the application crash as soon as it's opened.Environment
react-native-onesignal version: 4.3.1
added to the project with yarn
Steps to Reproduce Issue:
Anything else:
(crash stacktraces, as well as any other information here)
The text was updated successfully, but these errors were encountered: