after reading the documentation at http://docs.appery.io/tutorials/sendi... I still have some questions:
- how to map deviceID and type to service? Where to get these data?
- when to evoke the services (register, update, unregister)?
after reading the documentation at http://docs.appery.io/tutorials/sendi... I still have some questions:
Hello!
1) how to map deviceID and type to service - deviceID to localStorage variable pushNotificationDeviceID, type = A for Android, I for iOS
2) when to evoke the services (register, update, unregister) - device is registered automatically. If according to app logic you need to do unregister and then register again - do it when it's needed. Update when you need to update device data, for example user subscribe/unsubscribe from messages.