Skip to content

v2.3.0

Choose a tag to compare

@github-actions github-actions released this 30 Sep 10:04
· 1 commit to main since this release

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