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

For targeting SDK 34 - Added RECEIVER_EXPORTED/RECEIVER_NOT_EXPORTED flag support in DevSupportManagerBase

Open apuruni opened this issue 2 years ago • 6 comments

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

apuruni avatar Jul 08 '23 07:07 apuruni

This pull request was exported from Phabricator. Differential Revision: D47313501

facebook-github-bot avatar Jul 08 '23 07:07 facebook-github-bot

This pull request was exported from Phabricator. Differential Revision: D47313501

facebook-github-bot avatar Jul 08 '23 08:07 facebook-github-bot

This pull request was exported from Phabricator. Differential Revision: D47313501

facebook-github-bot avatar Jul 08 '23 08:07 facebook-github-bot

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

analysis-bot avatar Jul 08 '23 08:07 analysis-bot

This pull request was exported from Phabricator. Differential Revision: D47313501

facebook-github-bot avatar Jul 08 '23 15:07 facebook-github-bot

This pull request was exported from Phabricator. Differential Revision: D47313501

facebook-github-bot avatar Jul 08 '23 15:07 facebook-github-bot

This pull request was exported from Phabricator. Differential Revision: D47313501

facebook-github-bot avatar Jul 10 '23 11:07 facebook-github-bot

This pull request was successfully merged by @apuruni in 177d97d8ea962bdd4dad8fcf0efb04a307f25000.

When will my fix make it into a release? | Upcoming Releases

github-actions[bot] avatar Jul 10 '23 12:07 github-actions[bot]

This pull request has been merged in facebook/react-native@177d97d8ea962bdd4dad8fcf0efb04a307f25000.

facebook-github-bot avatar Jul 10 '23 12:07 facebook-github-bot

Hi All,

Can we create patch file for those changes?

thuongtv-vn avatar Nov 08 '23 10:11 thuongtv-vn

Hi! Ai updated from react native from 0.70.6 to 0.72.8, and the error persists. How to resolve?

Girum avatar Jan 04 '24 18:01 Girum

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?

chirag-blueed avatar Aug 02 '24 10:08 chirag-blueed