Trigger.io
How to integrate Pushwoosh SDK into your Trigger.io project
Download Module Download Geozones Module Download Sample Module API Docs Geozones Module API Docs
Add Pushwoosh module to your app according to the Configuration for your Modules article on Trigger.io.
Configure your project in Firebase Console.
Locate the
google-services.json
file to thesrc
folder in your project directory.
google-services.json
You should've gotten the google-services.json
file while creating the app in Firebase console. If you haven't, please consult this thread (section Get a config file for your Android app).
4. Set up push notifications handler:
5. Set up push registration handler:
6. Call “onDeviceReady” method (make sure you call this method each time the app starts):
Replace ENTER_PUSHWOOSH_APP_ID with your real Pushwoosh App ID, and for Android replace FCM_SENDER_ID with Sender ID you got from the Firebase Console.
5. Register for push notifications:
Geozones Push Notifications
To enable location tracking in your app, add pushwoosh_geozones module to your app according to the Configuration for your Modules article on Trigger.io.
To start location tracking, call:
That’s it!
Share your feedback with us
Your feedback helps us create a better experience, so we would love to hear from you if you have any issues during the SDK integration process. If you face any difficulties, please do not hesitate to share your thoughts with us via this form.
Last updated