The Pushwoosh iOS SDK does not manage properties such as alert, sound, and relevance-score. The SDK handles only the registration of activity tokens on the device through the setActivityToken and setActivityPushToStartToken methods.
To use these features, include them in the APNs payload sent from your backend through the updateLiveActivity REST API endpoint. The process works like this:
- Your server sends an updateLiveActivity API request to Pushwoosh with the alert, sound, or relevance-score fields.
- Pushwoosh sends this payload to the Apple Push Notification service (APNs).
- APNs delivers the payload to the iOS device.
- iOS reads the payload and performs the system action, such as playing a sound or showing the Dynamic Island animation.
Comments
0 comments
Please sign in to leave a comment.