Spil SDK - Splash and Daily Bonus Screen
Splash Screen
Splash screen content
The content of the splash screen is a webpage. Please discuss with your Spil Games contact on who will create the webpage. In case you will create the webpage we can provide you with a template. After the webpage is created Spil Games will host it and configure it properly so it can appear in the game.
Splash Screen can be triggered one of two ways. They can be fired automatically as a response to one of the tracking events (ex:”levelComplete”) or it can be manually triggered.
Before requesting the Splash Screen you should implement the callback listener in the following way:
In order to request the Splash Screen during game time use the following method:
Daily Bonus Screen
The reward that will be received by the user through the Daily Bonus screen will be handled in one of two ways. If the game implements the Wallet and Inventory system provided by the Spil SDK, then it will be handled internally and a callback will be fired that the Wallet and Inventory have been updated with the correct value. If the game is not using these systems, then the “DailyBonusReward” callback will be fired returning a string list of rewards.
Daily Bonus Screen content
The content of the Daily Bonus screen is a webpage. Please discuss with your Spil Games contact on who will create the webpage. In case you will create the webpage we can provide you with a template. After the webpage is created Spil Games will host it and configure it properly so it can appear in the game.
Before requesting the Splash Screen you should implement the callback listener in the following way:
In order to request the Daily Bonus Screen use the following method: