ionic-frameworkionic3ionic-plugins

How set the correct version of play-services in Ionic Pro


In the project replacement in the platform / android / projet.properties the following parameters

com.google.android.gms:play-services-maps:+

cordova.system.library.3=com.google.android.gms:play-services-location:+

How do I replace the same in the project or configuration and then charge it to the ionic pro and build it?


Solution

  • I used the next plugin: cordova-android-play-services-gradle-release

    1. ionic cordova plugin add cordova-android-play-services-gradle-release
    2. ionic cordova platform remove android
    3. ionic cordova platform add android@6.4.0

    this resolve my problem.