Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up
I have been having conflict issues with incompatible versions of google plugins, and have pulled together as much information as I can find, I have removed the gradle plugin from pre Cordova 9
[email protected] - removed now included in Cordova 9.+
and have added to mobile-config.js
App.setPreference('AndroidXEnabled', 'true', 'android');
App.setPreference('GradlePluginGoogleServicesEnabled', true);
App.setPreference('GradlePluginGoogleServicesVersion', '4.3.3');
from what I have found which has lots of likes and praise adding the disableversioncheck to build.gradle
not sure how to apply these setting but they would seemingly solve compatibility issues.
"Starting with com.google.gms:google-services:4.3.0 you must now instead add the following to the bottom of your app/build.gradle, after the apply.
googleServices { disableVersionCheck = true }
This also works with previous version of com.google.gms:google-services."
OneSignal/OneSignal-Gradle-Plugin#37 (comment)