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 BroadcastRecievers support #40

Open
lucasholda opened this issue Mar 15, 2024 · 0 comments
Open

Android 14 BroadcastRecievers support #40

lucasholda opened this issue Mar 15, 2024 · 0 comments

Comments

@lucasholda
Copy link

In Android 14, there have been significant changes to the behavior of broadcasts. When registering a BroadcastReceiver in code, you now need to specify whether it is exported or not.

Can we add Context.RECEIVER_NOT_EXPORTED in below line?

context.registerReceiver(onCompleteBroadcastReceiver, IntentFilter(DownloadManager.ACTION_DOWNLOAD_COMPLETE))

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

1 participant