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

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

Open
FoundersApproach opened this issue Aug 23, 2024 · 1 comment

Comments

@FoundersApproach
Copy link

After upgrading android target sdk to 34, under OrientationModule.java file "activity.registerReceiver(receiver, new IntentFilter("onConfigurationChanged"));" line giving RECEIVER error.

It takes two days to find the cause and after commenting this line this error gone. But issue is I can't use onConfigurationChanged event receiver.

So any updates to this lib is required for target sdk to 34. Hope you will fix that so it can save some one time.

Thank you!

@ItaloFalzoni
Copy link

Hello. I has a similar problem.

I found this possibly solution https://medium.com/@anaz_19473/react-native-app-crashes-on-upgrading-to-targetsdkversion-34-android-14-f8f575da6b45. Note that solution mentioned this lib on #429

Therefore, if this not resolve, we need to change to another lib, because this lib has the last update on 2017

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

2 participants