diff --git a/app/build.gradle b/app/build.gradle index 979a9ad..057d9df 100755 --- a/app/build.gradle +++ b/app/build.gradle @@ -17,10 +17,23 @@ android { proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' } debug { - } } + /* This for anyone following along with the repo. Since you will have a different + * root URL, this code loads up a value from your gradle.properties file. + */ + + buildTypes.each { + it.buildConfigField 'String', 'UNIQUE_FIREBASE_ROOT_URL', UniqueFirebaseRootUrl + } + + packagingOptions { + exclude 'META-INF/LICENSE' + exclude 'META-INF/LICENSE-FIREBASE.txt' + exclude 'META-INF/NOTICE' + } + } dependencies { @@ -30,6 +43,8 @@ dependencies { compile 'com.android.support:support-v4:23.0.1' compile 'com.android.support:cardview-v7:23.0.1' + compile 'com.firebase:firebase-client-android:2.4.0' + /* For Google Play Services */ compile 'com.google.android.gms:play-services-safetynet:8.3.0' compile 'com.google.android.gms:play-services-auth:8.3.0' diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index cda4cec..45bb91e 100755 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -2,6 +2,8 @@ + +