FirebaseGameServicesAuth extension

on

Methods

isUserLinkedToGameService() bool
Test if a user is already linked to a game service Advised to be call before linkGameServicesCredentialsToCurrentUser()
signIn({String? clientId}) Future<bool>
Try to sign in with native Game Service (Play Games on Android and GameCenter on iOS) Return true if success clientId is only for Android if you want to provide a clientId other than the main one in you google-services.json
signInLinkedUser({String? clientId, bool forceSignInIfCredentialAlreadyUsed = false}) Future<bool>
Try to sign link current user with native Game Service (Play Games on Android and GameCenter on iOS) Return true if success clientId is only for Android if you want to provide a clientId other than the main one in you google-services.json forceSignInIfCredentialAlreadyUsed make user force sign in with game services link failed because of ERROR_CREDENTIAL_ALREADY_IN_USE