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:
parent
9ed8cae47e
commit
e2129aa454
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue