Skip to content
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

React native push notifications app is crashing on Android 14 #2426

Open
wilsonchen85 opened this issue Sep 27, 2024 · 3 comments
Open

React native push notifications app is crashing on Android 14 #2426

wilsonchen85 opened this issue Sep 27, 2024 · 3 comments

Comments

@wilsonchen85
Copy link

react-native:0.61.4
react-native-push-notification: "^3.1.9"
android/build.gradle:
buildscript {
ext {
buildToolsVersion = "30.0.2"
minSdkVersion = 21
compileSdkVersion = 30
targetSdkVersion = 34
// Only using Android Support libraries
supportLibVersion = "30.0.0"
}
...
}

Question:
React native push notifications app is crashing on Android 14 and it's working fine on Android 10

These infomation by bugly:
#2 java.lang.SecurityException
com.antmartshopapp.multi: One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for system broadcasts
com.dieam.reactnativepushnotification.modules.RNPushNotification.registerNotificationsRegistration(RNPushNotification.java:88)

How to fixed?Thanks!

@DiguinhoLNS
Copy link

You can try this solution:

https://medium.com/@aarie33/schedule-exact-alarms-are-denied-by-default-onandroid-14-ccbfbf54586c

@hidaeraldo
Copy link

@wilsonchen85 did you find any solution for that?

@wilsonchen85
Copy link
Author

@wilsonchen85 did you find any solution for that?

I have no idea

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

No branches or pull requests

3 participants