From e3f19b176a14ecbd997c35ede16ca732c8ca4f35 Mon Sep 17 00:00:00 2001 From: DebbieFire Date: Mon, 22 Feb 2016 08:25:21 -0800 Subject: [PATCH] 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 --- docs/EmbeddedAppAndroid.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/EmbeddedAppAndroid.md b/docs/EmbeddedAppAndroid.md index 7b72c7c9560..13d573d1f38 100644 --- a/docs/EmbeddedAppAndroid.md +++ b/docs/EmbeddedAppAndroid.md @@ -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: - 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`: