API
Reference for Playgama Bridge SDK modules.
The modules below are grouped by integration priority. If you're integrating Bridge for the first time, follow Setup → Integration steps first, then use this reference for exact methods.
Required for every game
Platform — language, platform ID,
sendMessage('game_ready'), audio/pause/visibility state.Storage — save and load player progress.
Advertisement → Interstitial — required by all platforms for revenue share. Show at natural breakpoints (level transitions, game over).
Extra monetization
Advertisement → Rewarded, Banner, Advanced Banners, AdBlock detection — optional ad formats and diagnostics.
Payments — in-game purchases (consumable and permanent).
Engagement
Leaderboards — competitive scores (in-game, native, or native popup).
Achievements — milestones and rewards.
Social — share, invite friends, add to favorites, join community.
Optional
Player — authorization, ID, name, avatar.
Device — device type (mobile / tablet / desktop / TV).
Remote Config — manage game settings without a release.
In unsupported environments, such as local development without a host platform, Bridge falls back to a mock platform. Methods return safe defaults (false, reject, etc.) instead of throwing, so you can develop against the SDK before publishing.
Last updated