Platform
Information
Information about the active platform. Available platform manager properties:
- JavaScript
- Construct 3
- Unity
// Platform type, e.g. Yandex, Vk
gp.platform.type;
// You can check possibility to login
gp.platform.hasIntegratedAuth;
// Is allowed to open external links?
gp.platform.isExternalLinksAllowed;
// Platform type, e.g. Yandex, Vk
GP_Platform.Type();
// You can check possibility to login
GP_Platform.HasIntegratedAuth();
// Is allowed to open external links?
GP_Platform.IsExternalLinksAllowed();
Supported Platforms










Authentication Support





Platforms without support





External Links
Some platforms strictly prohibit the use of external links, while others allow any (within the legal framework).





Platforms without support





info
Yandex.Games*:
- It is possible to post a link to the community if the community is only talking about the game on Yandex.Games, in other cases it is impossible.
- Allowed placement of links from the Yandex ecosystem, for example Yandex.Zen or links to other games on the platform.
Platforms Codes
- CrazyGames:
CRAZY_GAMES
- GameDistribution:
GAME_DISTRIBUTION
- GameMonetize:
GAME_MONETIZE
- OK Games:
OK
- SmartMarket:
SMARTMARKET
- VK Games:
VK
- Yandex Games:
YANDEX
- GamePix:
GAMEPIX
- Poki:
POKI
- VK Play:
VK_PLAY
Using Native SDK
Also you can get our SDK implementation or native platform SDK:
- JavaScript
- Construct 3
- Unity
// Our implementation
gp.platform.getSDK();
// Native platform SDK
gp.platform.getNativeSDK();
// Our implementation
runtime.GamePush.platform.getSDK();
// Native platform SDK
runtime.GamePush.platform.getNativeSDK();
Not implemented in Unity.
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!