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

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

@wilsonchen85

Description

@wilsonchen85

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions