For the complete documentation index, see llms.txt. This page is also available as Markdown.

Player

You are reading the documentation for Bridge SDK v2. If you need the obsolete v1 documentation, see Documentation (v1).

Player identity, profile data and platform authorization.

Authorization Support

Check this before showing a login button. Authorization support depends on the host platform.

bridge.player.isAuthorizationSupported
Platform support · 15 of 26 platforms

Supports: crazy_games, discord, facebook, huawei, microsoft_store, msn, ok, playdeck, playgama, samsung, telegram, tiktok, vk, y8, yandex

Does not support: dlightek, game_distribution, gamepush, gamesnacks, jio_games, lagged, poki, portal, reddit, xiaomi, youtube

Is the Player Currently Authorized

Use this to decide whether protected features are available right now, such as account-based saves, personalized content, or social actions.

bridge.player.isAuthorized

Is Guest

Returns true when the player has no persistent platform identity: they are not authorized, or the platform runs them as a guest account. Use it to decide whether to show a login prompt or to warn that progress may not sync across devices.

bridge.player.isGuest

Player ID

Returns the player's platform ID when available. Use it for display, analytics correlation, or backend verification.

Player Name

Returns the display name provided by the platform. Use it for profile UI, leaderboards, friend lists, or social prompts.

Returns null when no name is available; otherwise returns a string.

Player Avatar

Returns available player avatar URLs. Use the largest suitable image for profile UI, lobbies, or leaderboard rows.

Possible values: an array of avatar URLs sorted by increasing resolution, or an empty array.

Player Extra Fields

Returns platform-specific authorization data. Properties vary by platform.

Use this data on your backend to verify authorization. Playgama API verification currently supports only playgama, msn, and microsoft_store.

Player Authorization

Start the platform authorization flow. Call this from a direct player action, such as tapping a login button, before enabling account-only features.

Last updated