Set React Native version in build.gradle

Fixes React Native version mismatch error
https://github.com/facebook/react-native/issues/19259#issuecomment-389064401

Signed-off-by: Dmitry Novotochinov <trybeee@gmail.com>
This commit is contained in:
Dmitry Novotochinov 2018-05-16 09:58:13 +03:00
parent aa108cda12
commit 1fc30b798d
No known key found for this signature in database
GPG Key ID: 267674DCC86628D9
1 changed files with 3 additions and 1 deletions

View File

@ -204,7 +204,9 @@ dependencies {
implementation project(':realm')
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation "com.android.support:appcompat-v7:26.1.0"
implementation "com.facebook.react:react-native:+" // From node_modules
// Force using exact RN version instead of relying on gradle dependency resolution
// https://docs.gradle.org/current/userguide/introduction_dependency_management.html#sec:dependency_resolution
compile ("com.facebook.react:react-native:0.53.3") { force = true } // From node_modules
implementation project(':react-native-i18n')
implementation project(':react-native-camera')
implementation project(':react-native-status')