-
Notifications
You must be signed in to change notification settings - Fork 0
Sample Game
Make sure you have followed the procedure in Getting Started to initialize the Gravitum SDK.
The Gravitum SDK comes with a test scene under the Plugins > Gravitum > xExamples > Scenes folder. It includes a small script that sends up a dummy event called "sample_event" and a dummy purchase of "coins" on button press.
Build & run this scene as a test game and run it on an android device. If you have initialized the SDK properly above, sample events will be sent to the server on button press.
You will see the following events on the Gravitum Admin Dashboard when you press the "Send Custom Event"
At this point, the SDK is working silently under the hood and custom events and purchases are being sent to the server.
Gravitum uses the OneSignal platform to send push messages. Once you are seeing events arriving on the Gravitum admin dashboard, you can proceed to adding OneSignal for push messaging.

