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
This commit is contained in:
Sandro Machado 2016-10-20 06:53:38 -07:00 committed by Facebook Github Bot
parent 9ed8cae47e
commit e2129aa454
1 changed files with 4 additions and 0 deletions

View File

@ -605,6 +605,10 @@ Next, make sure you have the Internet permission in your `AndroidManifest.xml`:
<uses-permission android:name="android.permission.INTERNET" />
If you need to access to the `DevSettingsActivity` add to your `AndroidManifest.xml`:
<activity android:name="com.facebook.react.devsupport.DevSettingsActivity" />
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