Skip to main content

Shortcut / Favorites

Suggest to the player to create a shortcut or add the game to favorites.

Information

FREE

The method returns the success of the operation, boolean.

const success = await gp.app.addShortcut(); // true / false

Supported Platforms

  • Yandex Games
  • VK Games
  • Platforms without support
  • CrazyGames
  • GamePix
  • GameDistribution
  • GameMonetize
  • OK Games
  • SmartMarket
  • VK Play
  • WG Playground
  • Kongregate
  • PlayDeck
  • Google Play
  • Telegram
  • beeline
  • Fotostrana
  • Y8
  • CoolMathGames
  • Android (alternative stores)
  • Web (custom site)
  • Check Support

    FREE
    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!