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

Android 14 fix #71

Conversation

AlexanderThiele
Copy link

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

closes #70

…uld be specified when a receiver isn't being registered exclusively for system broadcasts
@tairoroberto
Copy link

Waiting for the PR.

@TarunPal3551
Copy link

is it resolved ? we are also facing same issue in our apps

E/AndroidRuntime(16970): java.lang.SecurityException: app.apnabillbook.com: One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for system broadcasts
E/AndroidRuntime(16970): at android.os.Parcel.createExceptionOrNull(Parcel.java:3087)
E/AndroidRuntime(16970): at android.os.Parcel.createException(Parcel.java:3071)
E/AndroidRuntime(16970): at android.os.Parcel.readException(Parcel.java:3054)
E/AndroidRuntime(16970): at android.os.Parcel.readException(Parcel.java:2996)
E/AndroidRuntime(16970): at android.app.IActivityManager$Stub$Proxy.registerReceiverWithFeature(IActivityManager.java:5684)
E/AndroidRuntime(16970): at android.app.ContextImpl.registerReceiverInternal(ContextImpl.java:1868)
E/AndroidRuntime(16970): at android.app.ContextImpl.registerReceiver(ContextImpl.java:1804)
E/AndroidRuntime(16970): at android.app.ContextImpl.registerReceiver(ContextImpl.java:1792)
E/AndroidRuntime(16970): at android.content.ContextWrapper.registerReceiver(ContextWrapper.java:765)
E/AndroidRuntime(16970): at ru.surfstudio.otp_autofill.OTPPlugin.registerSmsRetrieverBroadcastReceiver(OTPPlugin.kt:204)
E/AndroidRuntime(16970): at ru.surfstudio.otp_autofill.OTPPlugin.access$registerSmsRetrieverBroadcastReceiver(OTPPlugin.kt:41)
E/AndroidRuntime(16970): at ru.surfstudio.otp_autofill.OTPPlugin$listenRetriever$1.invoke(OTPPlugin.kt:164)
E/AndroidRuntime(16970): at ru.surfstudio.otp_autofill.OTPPlugin$listenRetriever$1.invoke(OTPPlugin.kt:164)
E/AndroidRuntime(16970): at ru.surfstudio.otp_autofill.OTPPlugin.listenRetriever$lambda$2(OTPPlugin.kt:164)
E/AndroidRuntime(16970): at ru.surfstudio.otp_autofill.OTPPlugin.$r8$lambda$M0eR2oxFk9TVpDz4SIjN-L_lMQ4(Unknown Source:0)
E/AndroidRuntime(16970): at ru.surfstudio.otp_autofill.OTPPlugin$$ExternalSyntheticLambda0.onSuccess(Unknown Source:2)
E/AndroidRuntime(16970): at com.google.android.gms.tasks.zzm.run(com.google.android.gms:play-services-tasks@@18.0.2:1)
E/AndroidRuntime(16970): at android.os.Handler.handleCallback(Handler.java:958)
E/AndroidRuntime(16970): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(16970): at android.os.Looper.loopOnce(Looper.java:257)
E/AndroidRuntime(16970): at android.os.Looper.loop(Looper.java:368)
E/AndroidRuntime(16970): at android.app.ActivityThread.main(ActivityThread.java:8826)
E/AndroidRuntime(16970): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(16970): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:572)
E/AndroidRuntime(16970): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1049)
E/AndroidRuntime(16970): Caused by: android.os.RemoteException: Remote stack trace:
E/AndroidRuntime(16970): at com.android.server.am.ActivityManagerService.registerReceiverWithFeature(ActivityManagerService.java:14887)
E/AndroidRuntime(16970): at android.app.IActivityManager$Stub.onTransact(IActivityManager.java:2570)
E/AndroidRuntime(16970): at com.android.server.am.ActivityManagerService.onTransact(ActivityManagerService.java:3005)
E/AndroidRuntime(16970): at android.os.Binder.execTransactInternal(Binder.java:1387)
E/AndroidRuntime(16970): at android.os.Binder.execTransact(Binder.java:1299)
E/AndroidRuntime(16970):

@AlexanderThiele
Copy link
Author

no, they merged the wrong PR 🙈

@DmitrDomrachev
Copy link
Contributor

#72

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

Successfully merging this pull request may close these issues.

[BUG] Android 14 SecurityException Specify RECEIVER_EXPORTED
6 participants