Difference between revisions of "Native Push (Client)"
Line 25: | Line 25: | ||
{{Hint|The "Activate native push" setting is only enabled during a user session because it's only possible to maintain topic subscriptions with push topic objects.}} | {{Hint|The "Activate native push" setting is only enabled during a user session because it's only possible to maintain topic subscriptions with push topic objects.}} | ||
+ | {{Attention|If you clear the app data or reinstall the app, all existing push topic subscriptions will be reset and you won't receive any pushes until you login using a profile | ||
{{UnderConstructionEnd}} | {{UnderConstructionEnd}} |
Revision as of 13:21, 11 October 2024
Just like the UBIK® push service, UBIK® native push also aims to ensure that the server side can actively deliver messages to the clients. However, it has a few major differences by comparison.
- The native push uses the existing 3rd party solutions/infrastructure and is, therefore, dependent on the availability of those.
- Android: Firebase Cloud Messaging.
- iOS: Apple Push Notification service.
- The native push is better supported by and integrated into the mobile platforms. So the delivery of the pushes is better guaranteed just like with other apps (e.g. email or online messaging apps).
Native push types
Currently, the only supported push type is text messages. Upon clicked, they simply launch the UBIK® client or bring it to the foreground if that's not the state of it yet.
Native push settings
You can turn native push on/off in the app's General settings section via the "Activate native push" setting.
Technical background
In order to properly determine which pushes to receive or not, the client requires access to push topics from the server side.
When you login (online or offline), the client checks all available push topics and maintains the topic subscriptions accordingly. This also happens when you change the "Activate native push" setting to turn it on.
- When you turn it off, the client unsubscribes from all topics available to the current user session.
The "Activate native push" setting is only enabled during a user session because it's only possible to maintain topic subscriptions with push topic objects. |
{{Attention|If you clear the app data or reinstall the app, all existing push topic subscriptions will be reset and you won't receive any pushes until you login using a profile