From 3b151c98d089b453cbd0afe82a18200799b856c5 Mon Sep 17 00:00:00 2001 From: renato Date: Wed, 12 Oct 2016 13:52:04 -0300 Subject: [PATCH] FCM changes for Android --- .../android/app/build.gradle | 1 + .../android/app/src/main/AndroidManifest.xml | 21 +++++++++++++++++++ .../simple-fcm-client/android/build.gradle | 3 ++- 3 files changed, 24 insertions(+), 1 deletion(-) diff --git a/Examples/simple-fcm-client/android/app/build.gradle b/Examples/simple-fcm-client/android/app/build.gradle index dd59fe2..960c44f 100644 --- a/Examples/simple-fcm-client/android/app/build.gradle +++ b/Examples/simple-fcm-client/android/app/build.gradle @@ -1,4 +1,5 @@ apply plugin: "com.android.application" +apply plugin: "com.google.gms.google-services" import com.android.build.OutputFile diff --git a/Examples/simple-fcm-client/android/app/src/main/AndroidManifest.xml b/Examples/simple-fcm-client/android/app/src/main/AndroidManifest.xml index 7c5e0a1..f3ddf29 100644 --- a/Examples/simple-fcm-client/android/app/src/main/AndroidManifest.xml +++ b/Examples/simple-fcm-client/android/app/src/main/AndroidManifest.xml @@ -16,14 +16,35 @@ android:label="@string/app_name" android:icon="@mipmap/ic_launcher" android:theme="@style/AppTheme"> + + + + + + + + + + + + + + + + + + + + diff --git a/Examples/simple-fcm-client/android/build.gradle b/Examples/simple-fcm-client/android/build.gradle index fcba4c5..5300173 100644 --- a/Examples/simple-fcm-client/android/build.gradle +++ b/Examples/simple-fcm-client/android/build.gradle @@ -5,7 +5,8 @@ buildscript { jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:1.3.1' + classpath 'com.android.tools.build:gradle:2.0.0' + classpath 'com.google.gms.google-services:3.0.0' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files -- 2.26.2