signInLinkedUser method

  1. @Deprecated('Use only FirebaseGameServices.instance.signIn();')
Future<bool> signInLinkedUser({
  1. String? clientId,
  2. bool forceSignInIfCredentialAlreadyUsed = false,
})

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

Implementation

@Deprecated('Use only FirebaseGameServices.instance.signIn();')
Future<bool> signInLinkedUser(
    {String? clientId,
    bool forceSignInIfCredentialAlreadyUsed = false}) async {
  return await FirebaseGameServices.platform.signInLinkedUser(
      clientId: clientId,
      forceSignInIfCredentialAlreadyUsed: forceSignInIfCredentialAlreadyUsed);
}