FirebaseGameServicesAchievements extension

on

Methods

hideAccessPoint() Future<String?>

Available on FirebaseGameServices, provided by the FirebaseGameServicesAchievements extension

Hide the iOS Access Point.
increment({dynamic achievement = Achievement}) Future<String?>

Available on FirebaseGameServices, provided by the FirebaseGameServicesAchievements extension

Increment an achievement. Achievement takes two parameters: androidID the achievement id for android. steps If the achievement is of the incremental type you can use this method to increment the steps.
showAccessPoint(AccessPointLocation location, {bool showHighlights = false}) Future<String?>

Available on FirebaseGameServices, provided by the FirebaseGameServicesAchievements extension

Show the iOS Access Point.
showAchievements() Future<String?>

Available on FirebaseGameServices, provided by the FirebaseGameServicesAchievements extension

It will open the achievements screen.
showAllLeaderboards() Future<String?>

Available on FirebaseGameServices, provided by the FirebaseGameServicesAchievements extension

Presents the list of leaderboards.
showLeaderboards({dynamic iOSLeaderboardID = "", dynamic androidLeaderboardID = ""}) Future<String?>

Available on FirebaseGameServices, provided by the FirebaseGameServicesAchievements extension

Opens a single leaderboard screen.
showSingleLeaderboard({dynamic iOSLeaderboardID = "", dynamic androidLeaderboardID = ""}) Future<String?>

Available on FirebaseGameServices, provided by the FirebaseGameServicesAchievements extension

Opens a single leaderboard screen.
submitScore({dynamic score = Score}) Future<String?>

Available on FirebaseGameServices, provided by the FirebaseGameServicesAchievements extension

Submit a score to specific leader board. Score takes three parameters: androidLeaderboardID the leader board id that you want to send the score for in case of android. iOSLeaderboardID the leader board id that you want to send the score for in case of iOS. value the score.
unlock({dynamic achievement = Achievement}) Future<String?>

Available on FirebaseGameServices, provided by the FirebaseGameServicesAchievements extension

Unlock an achievement. Achievement takes three parameters: androidID the achievement id for android. iOSID the achievement id for iOS. percentComplete the completion percent of the achievement, this parameter is optional in case of iOS.