react-native-orientation icon indicating copy to clipboard operation
react-native-orientation copied to clipboard

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

Open FoundersApproach opened this issue 1 year ago • 1 comments

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!

FoundersApproach avatar Aug 23 '24 11:08 FoundersApproach