-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
DevSettingsActivity is not removed in release builds of Android #47223
Comments
|
|
|
|
I found two PRs that does removes the DevSettingsActivity from main AndroidManifest.xml
But I don't know when it was changed again back. |
The manifest that you linked is not used at all. It's only used by our internal build system, but is ignored by Gradle, so is not affecting React Native Open Source. The source of thruth is here:
As you can see that manifest file is inside Where do you see that the |
Summary: This file is used by BUCK only and should have not been exposed in the first place. Fixes facebook#47223 Changelog: [Internal] [Changed] - Move `com/facebook/react/devsupport/AndroidManifest` to Internal Differential Revision: D65136247
…ebook#47279) Summary: Pull Request resolved: facebook#47279 This file is used by BUCK only and should have not been exposed in the first place. Fixes facebook#47223 Changelog: [Internal] [Changed] - Move `com/facebook/react/devsupport/AndroidManifest` to Internal Differential Revision: D65136247
…ebook#47279) Summary: Pull Request resolved: facebook#47279 This file is used by BUCK only and should have not been exposed in the first place. Fixes facebook#47223 Changelog: [Internal] [Changed] - Move `com/facebook/react/devsupport/AndroidManifest` to Internal Differential Revision: D65136247
…ebook#47279) Summary: Pull Request resolved: facebook#47279 This file is used by BUCK only and should have not been exposed in the first place. Fixes facebook#47223 Changelog: [Internal] [Changed] - Move `com/facebook/react/devsupport/AndroidManifest` to Internal Differential Revision: D65136247
I have created a repo that reproduces this https://github.com/SanjayDevTech/demo-expo-app if you run |
Just now saw the pr thanks |
Also that's a Expo related issue, you should probably open another issue on: |
Description
I am using Expo managed workflow to build apps. But I do think this issue is not related to expo alone, so putting it here.
On Debug mode we can open the dev settings page by typing "m" in the console. I have seen DevSettingsActivity added to the AndroidManifest on debug app.
But when I build the release apk (by using github actions not eas cloud, but I think both doing the same), I still seeing the DevSettingsActivity added to AndroidManifest.
I saw there is a comment
react-native/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/devsupport/AndroidManifest.xml
Lines 5 to 8 in dc2000c
Currently to remove I am using a config plugin
Steps to reproduce
React Native Version
0.74.6
Output of
npx react-native info
Screenshots and Videos
No response
The text was updated successfully, but these errors were encountered: