Skip to content

Extension update: <Playgama Bridge> #2292

Description

@davitsedrakian

Changes

Added

  • Custom analytics events: analytics.send(name, data) sends your own game events to Playgama analytics. Available in all engine plugins
  • Gameplay time events: gameplay_30s and gameplay_60s are sent automatically after game_ready, time on pause is not counted
  • npm: Vite plugin @playgama/bridge/vite adds the SDK script to index.html — from CDN (mode: 'cdn', default) or as a local copy from the package (mode: 'local')
  • Samsung Instant Plays: gracRating config option (ALL, 12, 15, 18) selects the GRAC rating badge, ALL by default

Changed

  • npm: the package no longer bundles the SDK into the game code. The SDK is loaded as a separate playgama-bridge.js script, and import bridge from '@playgama/bridge' returns it
  • Advanced banners: offsets accept 0 without the percent sign
  • The first interstitial can be shown 30 seconds after start instead of 60
  • New text of the popup shown when an ad fails or is closed too early
  • Engine plugins (Unity, Godot, Defold, GameMaker, Construct 3, GDevelop, Cocos Creator): social content is taken only from the config file. share, inviteFriends and createPost take the id of a social.shares, social.invites or social.posts entry, and joinCommunity takes no options and reads social.joinCommunity. Passing the content in code is no longer supported — move it to the config

How to use the new features

No response

Checklist

  • I've followed all of the best practices.
  • I confirm that this extension can be integrated to this GitHub repository, distributed and MIT licensed.
  • I am aware that the extension may be updated by anyone, and do not need my explicit consent to do so.

Example file

bridge-gdevelop-examples.zip

Extension file

PlaygamaBridge.zip

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    🔄 Extension updateAn update for an existing extension🔍 Reviewed extensionAn extension that is to be reviewed in great detail before merging.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions