FirebaseUserExtension extension

Extension on the User class from Firebase, adding functionality to link and manage game services such as Play Games (Android) and Game Center (iOS).

on
  • User

Methods

getGamesServicesId() String?
Retrieves the Game Services ID for the current user (Play Games ID on Android or Game Center ID on iOS).
isLinkedWithGamesServices() bool
Checks if the current Firebase user is linked with Play Games (Android) or Game Center (iOS).
linkWithGamesServices({bool forceSignInWithGameServiceIfCredentialAlreadyUsed = false}) Future<UserCredential>
Links the current Firebase user with Play Games (Android) or Game Center (iOS).