Content-Length: 238999 | pFad | https://github.com/NativeScript/NativeScript/issues/10585

760 fix: targetSdk 34 registerBroadcastReceiver needs additional flags by edusperoni · Pull Request #10585 · NativeScript/NativeScript · GitHub
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

fix: targetSdk 34 registerBroadcastReceiver needs additional flags #10585

Merged
merged 1 commit into from
Jul 12, 2024

Conversation

edusperoni
Copy link
Contributor

PR Checklist

What is the current behavior?

When targetting API 34, calling registerBroadcastReceiver throws an error due to https://developer.android.com/about/versions/14/behavior-changes-14#runtime-receivers-exported

What is the new behavior?

Error no longer thrown and we mark the broadcast as exported by default. The user can opt to make it not exported by passing the correct flag.

@cla-bot cla-bot bot added the cla: yes label Jul 12, 2024
@NathanWalker NathanWalker merged commit 4c70596 into main Jul 12, 2024
4 checks passed
@NathanWalker NathanWalker deleted the fix/broadcast-receiver-flags branch July 12, 2024 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/NativeScript/NativeScript/issues/10585

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy