Deposit Events
Describe the flow of events that you can register & handle it for you custom UI on handle event related to balance.
Explain
- Load game
- We play game as usual until you run out of money.
- The game will trigger an event outside the iframe (via post message) with event name:
N11S_INSUFFICIENT_BALANCE - After deposit completed, trigger an event inside the game (via post message) with event name:
N11S_DEPOSIT_COMPLETED - On the game, we handle the rest.
Demo
You can check out this repo for detail implementation GitHub
tip
Replace <<FISH_GAME_URL_HERE>> to fish game url