After installing the Ionic Native Push Plugin in project. There is a error related to ‘:processDebugGoogleServices’, when building the app. Before installation of Push plugin, the Google Analytics plugin was already installed in the project and it seems there is a version conflict in Google Services Plugin after the installation of Push plugin.
The error message recommends to fix the version conflict by either updating the version of google-services plugin or update the version of com.google.android.gms to 11.0.1.
If the version of com.google.android.gms:play-services-analytics is changed from “+” to “11.0.1” in platform\android\project.properties file, then the app is built successfully, but this needs to be done each time app is being build. So is there any way to avoid making this change every time?