huawei_gameservice 5.0.4+305 copy "huawei_gameservice: ^5.0.4+305" to clipboard
huawei_gameservice: ^5.0.4+305 copied to clipboard


Huawei Game Service, provides a range of development capabilities to help you develop your games more efficiently.

Huawei Game Service Flutter Plugin version

With Huawei Game Service, you will have access to a range of development capabilities. You can promote your game quickly and efficiently to Huawei's vast user base by having users sign in using their Huawei IDs. You can also use the service to quickly implement achievements, game events, and game addiction prevention functions, build basic game capabilities at a low cost, and perform in-depth game operations based on user and content localization.

Huawei Game Service provides the following basic functions for your game apps:

  • Game addiction prevention
  • Floating window
  • Achievements
  • Events
  • Leaderboards
  • Saved games
  • Player statistics
  • Access to basic game information

The Huawei Game Service Flutter Plugin enables communication between Huawei Game Service SDK and the Flutter Platform and it exposes all capabilities provided by the Huawei Game Service.

Learn More

Installation #

Please see and AppGallery Connect Configuration.

Documentation #

Additional Topics #

Game Sign-in Requirements

  • To implement the Game Sign-in function for players to sign in to your game using Huawei IDs please use the Huawei Account Flutter Plugin plugin. After the user successfully signs in, Huawei Account Kit sends the verification result to your game and you can obtain the player information by calling the related APIs from Players Client.

Testing Game Features

You need to have a tester account to perform the testing of some Game Features. For details about how to create a tester account, please refer to Managing Tester Accounts.

Before a game is released, you can use a tester account to sign in to the game and test the game achievements, leaderboards, and saved games. Avoid releasing achievements or leaderboards when the corresponding game is still undergoing tests. This is because achievement or leaderboard data changes along with game operations performed by the tester account, and it cannot be reset once they have been released.

Note that Huawei AppAssistant can display achievements, leaderboards, and saved games only after your game is released and only on devices running EMUI 10.0 or later and Huawei AppAssistant 10.3 or later is installed. (Huawei AppAssistant 10.1 or later for achievements).

Sample Project #

This plugin includes a demo project in the example folder, there you can find usage examples. Please follow the instructions on the Installation section in order to run the demo application successfully.

Questions or Issues #

If you have questions about how to use HMS samples, try the following options:

  • Stack Overflow is the best place for any programming questions. Be sure to tag your question with huawei-mobile-services.
  • Github is the official repository for these plugins, You can open an issue or submit your ideas.
  • Huawei Developer Forum HMS Core Module is great for general questions, or seeking recommendations and opinions.
  • Huawei Developer Docs is place to official documentation for all HMS Core Kits, you can find detailed documentations in there.

If you run into a bug in our samples, please submit an issue to the GitHub repository.

License #

Huawei Game Service Flutter Plugin is licensed under Apache 2.0 license

pub points



Huawei Game Service, provides a range of development capabilities to help you develop your games more efficiently.

Repository (GitHub)
View/report issues


API reference


Apache-2.0 (LICENSE)




Packages that depend on huawei_gameservice