diff --git a/.gitignore b/.gitignore index 02dd816..b0649de 100644 --- a/.gitignore +++ b/.gitignore @@ -34,4 +34,4 @@ demo/report/stats.json demo-angular/report/report.html demo-angular/report/stats.json src/push-plugin.android.d.ts -src/push-plugin.ios.d.ts \ No newline at end of file +src/push-plugin.ios.d.ts diff --git a/README.md b/README.md index e549354..787b77b 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ In the Command prompt / Terminal navigate to your application root folder and ru - Add the `google-settings.json` file with the FCM configuration to the `app/App_Resources/Android folder` in your app. If this file is not added, building the app for android will fail. -The plugin will default to version 11.8.0 of the `firebase-messaging` SDK. If you need to change the version, you can add a project ext property `firebaseMessagingVersion`: +The plugin will default to version 12.0.1 of the `firebase-messaging` SDK. If you need to change the version, you can add a project ext property `firebaseMessagingVersion`: ```Groovy // in the root level of /app/App_Resources/Android/app.gradle: diff --git a/native-src/android/app/app.iml b/native-src/android/app/app.iml index 7185d6e..8d34955 100644 --- a/native-src/android/app/app.iml +++ b/native-src/android/app/app.iml @@ -111,22 +111,25 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/native-src/android/app/build.gradle b/native-src/android/app/build.gradle index ca8724b..5922baf 100644 --- a/native-src/android/app/build.gradle +++ b/native-src/android/app/build.gradle @@ -21,7 +21,7 @@ android { dependencies { compile fileTree(dir: 'libs', include: ['*.jar']) // compile 'com.android.support:appcompat-v7:25.1.0' - compile 'com.google.firebase:firebase-messaging:11.8.0' + compile 'com.google.firebase:firebase-messaging:12.0.1' } gradle.buildFinished { diff --git a/native-src/android/build.gradle b/native-src/android/build.gradle index a5a2aa1..60d770f 100644 --- a/native-src/android/build.gradle +++ b/native-src/android/build.gradle @@ -3,6 +3,7 @@ buildscript { repositories { jcenter() + google() } dependencies { classpath 'com.android.tools.build:gradle:3.0.1' diff --git a/src/platforms/android/include.gradle b/src/platforms/android/include.gradle index 1004dcf..843b588 100644 --- a/src/platforms/android/include.gradle +++ b/src/platforms/android/include.gradle @@ -11,7 +11,7 @@ android { } dependencies { - def firebaseMessagingVersion = project.hasProperty('firebaseMessagingVersion') ? project.firebaseMessagingVersion : '11.8.0' + def firebaseMessagingVersion = project.hasProperty('firebaseMessagingVersion') ? project.firebaseMessagingVersion : '12.0.1' def supportVer = project.hasProperty("supportVersion") ? supportVersion : "25.1.0"; compile "com.android.support:appcompat-v7:$supportVer"