Setup

Integration

Download the PlaygamaBridge.js file from the GitHub release page. In TurboWarp, click the Add Extension button, select Custom Extension, select the downloaded file, and check the Run without sandbox box.

When the game is launched on supported platforms, the SDK will automatically load the necessary platform scripts. On unsupported platforms, no errors will occur; a mock platform will be used, and any request will return false, reject, etc.

Config

Download the playgama-bridge-config.json file from the GitHub release page, and add it to your project. There you can set up various identifiers and in-game purchases.

You can see an explanation of the file structure here: Playgama Bridge Config.

Initialization

Before using the SDK, you need to call the initialization method and wait for it to complete.

Last updated