ZPNs release notes
Version 2.7.0
Release Date: 2024-07-01
New Features
Feature | Description | Related APIs |
---|---|---|
Support for iOS 17.0 | Warning Starting from this version, ZPNs no longer support iOS 11.0 and earlier versions. | - |
Version 2.6.0
Release Date: November 22, 2023
New Features
Feature | Description | Related API |
---|---|---|
Custom Notification Icon | In addition to displaying the app's default icon in offline push notifications, you can now customize the notification icon for offline pushes using ZPNs. This can be used to include the sender's avatar when sending individual or group chat messages. For more details, please refer to Custom Notification Icon. | - |
Notification with Image | Support for including an image in offline push notifications. For more details, please refer to the documentation Notify with photo attachment. | |
Update Icon Badge | Support updating the app icon badge to remind users of unread messages even when they are offline. For more details, please refer to the documentation Modify a notification badge. | |
Replacement Notice | Support for withdrawing the original push notification content, please refer to the details Update a push notification. | - |
Version 2.5.0
Release Date: 2023-09-14
New Features
Feature | Description | Related API |
---|---|---|
Local Logs | Added ZPNs local log component, call uploadLog of ZIM SDK to upload logs of both ZIM and ZPNs. | uploadLog |
Push Unregistration | Support unregistering offline push and disabling push notifications. | unregisterAPNs |
Version 2.1.0
Release Date: 2023-03-07
New Features
Feature | Description | Related APIs |
---|---|---|
Added Swift Package Manager support | Added support for Swift Package Manager as a package management method. | - |
Support for silent push notifications | Added support for synchronizing data between the app running in the background and the server through silent push notifications. | - |
Support for VoIP push notification type | Added support for VoIP notification functionality using iOS Callkit. | - |
Version 2.0.1
Release Date: 2022-04-29
Bug Fixes
Fixed known issues.
Version 2.0.0
Release Date: 2022-03-21
ZPNs SDK is released for the first time, supporting the reception of Apple APNs offline push notifications. To use it, please integrate it with the ZIM SDK.
Feature | Description | Related APIs |
---|---|---|
Register for APNs push notifications | After the developer correctly configures the certificate and project information, call the API to register for APNs push notifications. The system will generate a deviceToken, which should be passed to the SDK for binding. | |
Receive push notifications while the app is in the foreground | When the app is in the foreground and receives an offline push notification, this notification will be triggered. | willPresentNotification |
Callback notification when the popup is clicked | When the app is in the background or has been killed, an offline push notification will trigger a system popup. This callback will be triggered when the popup is clicked and the app is opened. | didReceiveNotificationResponse |
Add a local notification | Call this API to trigger a local push notification. It can be used when the app is still online or has just been pushed to the background and is not frozen, for purposes such as sending a local notification. | addLocalNotificationWithContent |