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

Please add support for Android 34 #642

Closed
tobias-r opened this issue Aug 14, 2023 · 4 comments
Closed

Please add support for Android 34 #642

tobias-r opened this issue Aug 14, 2023 · 4 comments

Comments

@tobias-r
Copy link

Caused by: java.lang.SecurityException: ************: One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for system broadcasts
at android.os.Parcel.createExceptionOrNull(Parcel.java:3057)
at android.os.Parcel.createException(Parcel.java:3041)
at android.os.Parcel.readException(Parcel.java:3024)
at android.os.Parcel.readException(Parcel.java:2966)
at android.app.IActivityManager$Stub$Proxy.registerReceiverWithFeature(IActivityManager.java:5684)
at android.app.ContextImpl.registerReceiverInternal(ContextImpl.java:1852)
at android.app.ContextImpl.registerReceiver(ContextImpl.java:1792)
at android.app.ContextImpl.registerReceiver(ContextImpl.java:1780)
at android.content.ContextWrapper.registerReceiver(ContextWrapper.java:755)
at net.gotev.uploadservice.observer.request.BaseRequestObserver.register(BaseRequestObserver.kt:36)
at net.gotev.uploadservice.observer.request.GlobalRequestObserver.(GlobalRequestObserver.kt:12)
at net.gotev.uploadservice.observer.request.GlobalRequestObserver.(GlobalRequestObserver.kt:6)
at net.gotev.uploadservice.observer.request.GlobalRequestObserver.(Unknown Source:16)

@kabirnayeem99
Copy link

Yes. This issue is legit. Please, fix it to complete adding support to Android 34.

kabirnayeem99 added a commit to kabirnayeem99/android-upload-service that referenced this issue Oct 9, 2023
…EIVER_EXPORTED or RECEIVER_NOT_EXPORTED (gotev#642)

gotev#642

Caused by: java.lang.SecurityException: ************: One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for system broadcasts
at android.os.Parcel.createExceptionOrNull(Parcel.java:3057)
at android.os.Parcel.createException(Parcel.java:3041)
at android.os.Parcel.readException(Parcel.java:3024)
at android.os.Parcel.readException(Parcel.java:2966)
at android.app.IActivityManager$Stub$Proxy.registerReceiverWithFeature(IActivityManager.java:5684)
at android.app.ContextImpl.registerReceiverInternal(ContextImpl.java:1852)
at android.app.ContextImpl.registerReceiver(ContextImpl.java:1792)
at android.app.ContextImpl.registerReceiver(ContextImpl.java:1780)
at android.content.ContextWrapper.registerReceiver(ContextWrapper.java:755)
at net.gotev.uploadservice.observer.request.BaseRequestObserver.register(BaseRequestObserver.kt:36)
at net.gotev.uploadservice.observer.request.GlobalRequestObserver.(GlobalRequestObserver.kt:12)
at net.gotev.uploadservice.observer.request.GlobalRequestObserver.(GlobalRequestObserver.kt:6)
at net.gotev.uploadservice.observer.request.GlobalRequestObserver.(Unknown Source:16)
@kabirnayeem99
Copy link

Please check this PR which resolves this issue.

kabirnayeem99 added a commit to kabirnayeem99/android-upload-service that referenced this issue Oct 10, 2023
@tolew1
Copy link

tolew1 commented Oct 14, 2023

@gotev is there any update for adding that PR or have another fix? This makes Android 14 crash.

@gotev
Copy link
Owner

gotev commented Oct 15, 2023

@gotev gotev closed this as completed Oct 15, 2023
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

4 participants