mirror of
https://github.com/status-im/react-native.git
synced 2025-01-15 20:15:11 +00:00
Update EmbeddedAppAndroid.md
Summary:The version of 0.17 will cause error ("undefined is not an object (evaluating 'screenPhysicalPixels.width')") when run to devices/simulator. also see https://github.com/facebook/react-native/issues/5963 Closes https://github.com/facebook/react-native/pull/6076 Differential Revision: D2960511 fb-gh-sync-id: bd71de789fa1501b285b9bde01cf12ab9ce75888 shipit-source-id: bd71de789fa1501b285b9bde01cf12ab9ce75888
This commit is contained in:
parent
c17428e9d2
commit
e3f19b176a
@ -18,7 +18,7 @@ Since React makes no assumptions about the rest of your technology stack, it's e
|
|||||||
|
|
||||||
In your app's `build.gradle` file add the React Native dependency:
|
In your app's `build.gradle` file add the React Native dependency:
|
||||||
|
|
||||||
compile 'com.facebook.react:react-native:0.17.+'
|
compile 'com.facebook.react:react-native:0.20.+'
|
||||||
|
|
||||||
You can find the latest version of the react-native library on [Maven Central](http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22com.facebook.react%22%20AND%20a%3A%22react-native%22). Next, make sure you have the Internet permission in your `AndroidManifest.xml`:
|
You can find the latest version of the react-native library on [Maven Central](http://search.maven.org/#search%7Cgav%7C1%7Cg%3A%22com.facebook.react%22%20AND%20a%3A%22react-native%22). Next, make sure you have the Internet permission in your `AndroidManifest.xml`:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user