For your games to be approved and published, you will need to implement our custom SDK. These are the mandatory settings for the SDK to work properly:
- Make sure to add your game hash (gameId), which you can retrieve from your Gamedistribution.com control panel.
- Invoke a method to pause AND mute your game within the SDK_GAME_PAUSE event. Will be called every time a video advertisement is ready to play. It is important that the game is muted, as background audio through video advertisements is forbidden.
- Invoke a method to resume your game within the SDK_GAME_START event. Will be called every time a video advertisement is done playing.
Make sure that the SDK is loaded before your game starts or while your game is loaded for the best user experience. Not after, and especially not by clicking a button within the game, as then it will take too long for an advertisement to load; making the user wait. Only load the SDK once!
You can find the full SDK code and other tips & tricks to get you started on our GitHub page. This page also contains info on advertisements and debugging.