Closed chrisjpalmer closed 6 years ago
Yeah, I have noticed that, I'll do some testing there as well.
how to get this to work with Ionic Pro
Here is some information on this problem, apparently a cordova issue. Build with Android Studio may works, untested. https://github.com/phonegap/phonegap-plugin-push/issues/1718
@chrisjpalmer This is actually a mess, apparently a cordova problem as it doesn't take the versions and defaults always to version 9.0.0, when the build.gradle is generated.
May have to get this running, tried it, didn't work.... https://github.com/transistorsoft/cordova-google-api-version
I close this...
Hi @ostownsville
I have noticed that when I build using
cordova build android
, I get the following messages:I checked out out FCMPlugin.gradle under the
plugins/cordova-plugin-fcm/android
and found this:// apply plugin: 'com.google.gms.google-services' // class must be used instead of id(string) to be able to apply plugin from non-root gradle file apply plugin: com.google.gms.googleservices.GoogleServicesPlugin`
Google Services Information for the latest google-services dependancy is found at: https://bintray.com/android/android-tools/com.google.gms.google-services/#read The latest version is 3.1.1.
I tried changing the version to 3.1.1 and running
cordova build android
but got the following error:Firebase Information on the latest firebase sdk for android is found at: https://developers.google.com/android/guides/releases?authuser=0 The latest version is 11.4.2 however it would appear that my system is picking v9.0.0 as the above warning message says.
If you look in
build.gradle
underplatforms/android
, you can find this:Cordova generates this whenever
cordova build android
is invoked.Attempt new dependencies As an experiment I changed the following in project.properties from:
to this:
cordova build android
updated the build.gradle file to reflect the newest 11.4.2 BUT got the following error: