From e2129aa4543bda3bcf57463a3e577e862ffc8786 Mon Sep 17 00:00:00 2001 From: Sandro Machado Date: Thu, 20 Oct 2016 06:53:38 -0700 Subject: [PATCH] Improve android integration documentation Summary: To access to the `DevSettingsActivity` it is required to declare the `Activity` in the `AndroidManifest.xml` or the application will crash every time the developer tries to access it. Closes https://github.com/facebook/react-native/pull/10478 Differential Revision: D4050931 Pulled By: JoelMarcey fbshipit-source-id: 4b587ab84375a6f08bc69e18d2cd00ae9dfa726d --- docs/IntegrationWithExistingApps.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/IntegrationWithExistingApps.md b/docs/IntegrationWithExistingApps.md index 3cce105fd..0337f9419 100644 --- a/docs/IntegrationWithExistingApps.md +++ b/docs/IntegrationWithExistingApps.md @@ -605,6 +605,10 @@ Next, make sure you have the Internet permission in your `AndroidManifest.xml`: +If you need to access to the `DevSettingsActivity` add to your `AndroidManifest.xml`: + + + This is only really used in dev mode when reloading JavaScript from the development server, so you can strip this in release builds if you need to. ## Add native code