Migration v1 → v2
What changed in the public API when moving from Bridge v1 to v2, module by module
Game (removed)
v1
v2
// v1
bridge.game.setLoadingProgress(100)
bridge.game.on(bridge.EVENT_NAME.VISIBILITY_STATE_CHANGED, (state) => {})
// v2
bridge.setGameLoadingProgress(100)
bridge.platform.on(bridge.EVENT_NAME.PAUSE_STATE_CHANGED, (isPaused) => {})
bridge.platform.on(bridge.EVENT_NAME.AUDIO_STATE_CHANGED, (isEnabled) => {})Platform
Player
Storage (breaking)
v1
v2
Leaderboards
Achievements (breaking)
v1
v2
Remote Config (breaking)
Cross-Promo (new)
Social (breaking)
Tasks (new)
Daily Rewards (new)
Constants
Constant
Change
Last updated