react-native
                                
                                
                                
                                    react-native copied to clipboard
                            
                            
                            
                        For targeting SDK 34 - Added RECEIVER_EXPORTED/RECEIVER_NOT_EXPORTED flag support in DevSupportManagerBase
Summary: Add RECEIVER_EXPORTED/RECEIVER_NOT_EXPORTED flag support to DevSupportManagerBase for Android 14 change. See https://developer.android.com/about/versions/14/behavior-changes-14#runtime-receivers-exported for details.
Without this fix, app crashes during launch because of :
SecurityException: {package name here}: One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for system broadcasts
Differential Revision: D47313501
This pull request was exported from Phabricator. Differential Revision: D47313501
This pull request was exported from Phabricator. Differential Revision: D47313501
This pull request was exported from Phabricator. Differential Revision: D47313501
| Platform | Engine | Arch | Size (bytes) | Diff | 
|---|---|---|---|---|
| android | hermes | arm64-v8a | 9,001,916 | +0 | 
| android | hermes | armeabi-v7a | 8,255,977 | -2 | 
| android | hermes | x86 | 9,511,054 | -1 | 
| android | hermes | x86_64 | 9,356,939 | +0 | 
| android | jsc | arm64-v8a | 9,614,950 | +0 | 
| android | jsc | armeabi-v7a | 8,741,582 | -1 | 
| android | jsc | x86 | 9,701,900 | -4 | 
| android | jsc | x86_64 | 9,948,458 | +0 | 
Base commit: c82f2e9f6816a1f946bad326e6f927018b4b05a8 Branch: main
This pull request was exported from Phabricator. Differential Revision: D47313501
This pull request was exported from Phabricator. Differential Revision: D47313501
This pull request was exported from Phabricator. Differential Revision: D47313501
This pull request was successfully merged by @apuruni in 177d97d8ea962bdd4dad8fcf0efb04a307f25000.
When will my fix make it into a release? | Upcoming Releases
This pull request has been merged in facebook/react-native@177d97d8ea962bdd4dad8fcf0efb04a307f25000.
Hi All,
Can we create patch file for those changes?
Hi! Ai updated from react native from 0.70.6 to 0.72.8, and the error persists. How to resolve?
Which version of React Native includes these features? We are using 0.68.2, and I am still facing the issue. Can someone guide here?