- Client API key
- App fingerprint
- Api URL (e.g. https://yourlink.com/api/3.0/)
The values can be obtained through PushSDK representatives.
Note: A firebase account and project (with cloud messaging enabled) are required to use the PushSDK. For demo purposes, a demo firebase project is already connected to the app, so the app will be receiving push messages through the firebase project.
Upon launching the app for the first time, you will be prompted to enter Api URL, Client API key and App fingerprint. You should have these values at this point, so it's pretty straightforward - enter the values then press "Init SDK" button.
This screen allows you to interact with the SDK.
Basic cycle:
- First, register your device by pressing "Register device"
- Second, press "Update registration" to let the SDK set and update you current FCM token
- Verify that your device is registered by pressing "Get all devices" button
After following these steps, the app should now be able to receive push messages from the Messaging Hub.
Note: By default, system tray notifications will only be displayed when the app is in background. When the app is in foreground - it will only receive broadcasts, and show them in the output area.