Merge pull request #492 from convoyinc/igrayson/proguard

Proguard rules
This commit is contained in:
Geoffrey Goh
2016-08-26 11:39:04 -07:00
committed by GitHub
2 changed files with 10 additions and 1 deletions

View File

@@ -14,8 +14,12 @@ android {
lintOptions {
abortOnError false
}
defaultConfig {
consumerProguardFiles 'proguard-rules.pro'
}
}
dependencies {
compile "com.facebook.react:react-native:0.19.+"
}
}

View File

@@ -15,3 +15,8 @@
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
# Invoked via reflection, when forcing javascript restarts.
-keepclassmembers class com.facebook.react.ReactInstanceManagerImpl {
void recreateReactContextInBackground();
}