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

Crash on Android 14 (Api Level 34) #45

Open
MuhammadFaisal12q opened this issue Sep 4, 2024 · 2 comments
Open

Crash on Android 14 (Api Level 34) #45

MuhammadFaisal12q opened this issue Sep 4, 2024 · 2 comments

Comments

@MuhammadFaisal12q
Copy link

SecurityException
com.MyApp: One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for system broadcasts

com.akvelon.reactnativesmsuserconsent.ReactNativeSmsUserConsentModule.subscribe
java.lang.SecurityException
Exception java.lang.SecurityException: at android.os.Parcel.createExceptionOrNull (Parcel.java:3067) at android.os.Parcel.createException (Parcel.java:3051) at android.os.Parcel.readException (Parcel.java:3034) at android.os.Parcel.readException (Parcel.java:2976) at android.app.IActivityManager$Stub$Proxy.registerReceiverWithFeature (IActivityManager.java:6387) at android.app.ContextImpl.registerReceiverInternal (ContextImpl.java:2004) at android.app.ContextImpl.registerReceiver (ContextImpl.java:1944) at android.content.ContextWrapper.registerReceiver (ContextWrapper.java:767) at android.content.ContextWrapper.registerReceiver (ContextWrapper.java:767) at com.akvelon.reactnativesmsuserconsent.ReactNativeSmsUserConsentModule.subscribe (ReactNativeSmsUserConsentModule.java:47) at com.akvelon.reactnativesmsuserconsent.ReactNativeSmsUserConsentModule.startNativeSmsListener (ReactNativeSmsUserConsentModule.java:132) at java.lang.reflect.Method.invoke at com.facebook.react.bridge.JavaMethodWrapper.invoke (JavaMethodWrapper.java:372) at com.facebook.react.bridge.JavaModuleWrapper.invoke (JavaModuleWrapper.java:188) at com.facebook.jni.NativeRunnable.run at android.os.Handler.handleCallback (Handler.java:958) at android.os.Handler.dispatchMessage (Handler.java:99) at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage (MessageQueueThreadHandler.java:27) at android.os.Looper.loopOnce (Looper.java:243) at android.os.Looper.loop (Looper.java:338) at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run (MessageQueueThreadImpl.java:228) at java.lang.Thread.run (Thread.java:1012) Caused by android.os.RemoteException: Remote stack trace: at com.android.server.am.ActivityManagerService.registerReceiverWithFeature (ActivityManagerService.java:14989) at android.app.IActivityManager$Stub.onTransact$registerReceiverWithFeature$ (IActivityManager.java:12569) at android.app.IActivityManager$Stub.onTransact (IActivityManager.java:3196) at com.android.server.am.ActivityManagerService.onTransact (ActivityManagerService.java:3010) at android.os.Binder.execTransactInternal (Binder.java:1339)

@sranvare07
Copy link

@eabdullazyanov When will this fix be merged. I am facing crashes on my app. Can you please review and merge this?

@nadir-karimo
Copy link

Any news on this issue?

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