In this section you'll find the API Reference for the Instant Games JavaScript SDK. If you're starting a new game, we recommend always using our latest version of the SDK. Click the button below to see the SDK reference for our most up-to-date version:
Instant Games SDK ReferenceBundle Configuration ReferenceSee the changelogs for the currently supported versions of the Instant Games SDK:
Go to reference documentation for Instant Games SDK v7.1
Go to reference documentation for Instant Games SDK v7.0
postSessionScoreAsync
as a replacement as it will provide better info about user actions for dialogs invoked via this API.shareAsync
since it wasn't being used. We've also removed the IMMEDIATE_CLEAR strategy from updateAsync
as we have a policy in place to restrict custom updates to one per context session.Go to reference documentation for Instant Games SDK v6.3