I followed all the steps here: https://akdebuging.com/posts/integrate-gamekit-and-google-play-services/
Added to AndroidManifest:
<meta-data
android:name="com.google.android.gms.games.APP_ID"
android:value="MY_ID" />
<meta-data
android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version" />
</application>
In Google Play Console everything seems fine (the SDK is not marked as done, not sure if related):
When I call this it returns just null
:
Future<void> signIn() async {
final result = await GameAuth.signIn();
print(result);
}
To resume everything:
./gradlew signingReport
If last command fails:
gradle-wrapper.properties
if necessaryReal demo: https://play.google.com/store/apps/details?id=com.drodriguez.time_tap
More info: https://github.com/Abedalkareem/games_services/issues/129