Shortcut / Favorites
Suggest to the player to create a shortcut or add the game to favorites.
Information
The method returns the success of the operation, boolean
.
const success = await gp.app.addShortcut(); // true / false
Supported Platforms


Platforms without support








Check Support
gp.app.canAddShortcut // true / false
Use this property to check if adding a shortcut is supported on the current platform. It also checks for the possibility of adding it again.
if (gp.app.canAddShortcut) {
// can suggest adding to favorites
}
Stay in Touch
Other documents of this chapter available Here. To get started, welcome to the Tutorials chapter.
GamePush Community Telegram
: @gs_community.
For your suggestions e-mail
: [email protected]
We Wish you Success!