diff --git a/android/build.gradle b/android/build.gradle index 1dbe44f1..623cd2aa 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -9,13 +9,11 @@ buildscript { } dependencies { classpath 'com.android.tools.build:gradle:2.1.3' - classpath 'com.google.firebase:firebase-plugins:1.1.0' } } // END apply plugin: 'com.android.library' -apply plugin: 'com.google.firebase.firebase-perf' android { compileSdkVersion 25 @@ -60,5 +58,5 @@ dependencies { compile "com.google.firebase:firebase-messaging:$firebaseVersion" compile "com.google.firebase:firebase-crash:$firebaseVersion" compile "com.google.firebase:firebase-config:$firebaseVersion" - compile 'com.google.firebase:firebase-perf:$firebaseVersion' + compile "com.google.firebase:firebase-perf:$firebaseVersion" } diff --git a/tests/android/app/build.gradle b/tests/android/app/build.gradle index f767d583..4d51fce3 100644 --- a/tests/android/app/build.gradle +++ b/tests/android/app/build.gradle @@ -1,4 +1,5 @@ apply plugin: "com.android.application" +apply plugin: "com.google.firebase.firebase-perf" import com.android.build.OutputFile @@ -130,6 +131,7 @@ dependencies { compile project(':react-native-firebase') compile project(':react-native-vector-icons') compile fileTree(dir: "libs", include: ["*.jar"]) + compile "com.google.firebase:firebase-perf:10.2.6" compile "com.android.support:appcompat-v7:24.0.0" compile "com.facebook.react:react-native:+" // From node_modules } diff --git a/tests/android/build.gradle b/tests/android/build.gradle index 48e679ff..4a82dfd8 100644 --- a/tests/android/build.gradle +++ b/tests/android/build.gradle @@ -7,6 +7,7 @@ buildscript { dependencies { classpath 'com.android.tools.build:gradle:2.3.1' classpath 'com.google.gms:google-services:3.0.0' + classpath 'com.google.firebase:firebase-plugins:1.1.0' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files