i want to use Google Play Services in my Ionic Project. I want to show a highscore leaderboard.
I found this plugin: https://ionicframework.com/docs/native/google-play-games-services
I installed it like this:
cordova plugin add cordova-plugin-play-games-services --variable APP_ID="XXXX"
npm install @ionic-native/google-play-games-services
Then i removed the platform android:
ionic cordova platform rm android
After that i tried to build the debug apk:
ionic cordova build android
Then i get following error:
error: package com.google.android.gms.games.request does not exist import com.google.android.gms.games.request.GameRequest;
Maybe someone can help me?