zego_zpns 2.5.0-alpha zego_zpns: ^2.5.0-alpha copied to clipboard
ZEGO ZPNs Flutter SDK is a flutter plugin wrapper based on ZPNs native Android / iOS SDK.
2.5.0 #
New Features:
- Web Development: Support developing web applications using the Flutter framework, and implement offline push. For more details, please refer to Implementation of Offline Push - Web Integration Process.
- Local Logs: Added ZPNs local log component, which can upload logs of both ZIM and ZPNs by calling the uploadLog function in the ZIM SDK.
- Push Unregistration: Support unregistering offline push and disabling push notifications in mobile applications. Please refer to unregisterPush for more details.
- iOS Push Display Settings: Added the iOSNotificationArrivedConfig parameter in registerPush, which allows specifying whether to display iOS push alerts, sounds, and badges during offline push registration.
- Pushing Private Messages to Android Devices: Support pushing messages via the private message channels provided by Android device manufacturers, achieving unlimited push capability. Please refer to the relevant content in the integration guides for Xiaomi, Huawei, OPPO, and vivo on how to create private message channels.
- iOS Environment: Added the Automatic option in the ZPNsIOSEnvironment enumeration. When developers call registerPush for offline push registration and are not familiar with the iOS environment, they can pass this enumeration and ZPNs will automatically recognize the environment.
- Initiating iOS Callkit Call Interface: Added an interface 'reportIncomingCall'.
Interface Changes:
- Data Class Member Variable Type Change: The type of the extras in ZPNsMessage has been changed from Map<String, Object> to Map<String, Object?>, in order to accommodate cases where the value may be null during JSON to map conversion. For more details, please refer to ZPNs Upgrade Guide - 2.5.0 Upgrade Guide.
2.3.2 #
2.3.1 #
2.3.0 #
2.2.0 #
API Refactoring #
π₯ Please note to developers that there are breaking changes starting from version 2.2.0, so please read the following guidelines when upgrading from the old version to the new version.
1. Make create
function from member function to static function, and changing the return value from Future<ZPNs>
to ZPNs?
. When you using ZPNs,make sure has been configured by static function set then please call this API first. Also, you should remove the keyword await
.
2. Remove unnecessary Future return values ββfrom some APIs, so you don't need to await
the retuen value.
2.1.3 #
- Fixed a bug about meet android-12 request.
2.1.2 #
- Fixed a bug about android dependency.
2.1.1 #
- Fixed a bug about android extendedData error.
2.1.0 #
- Release version, with native iOS SDK dependency version 2.0.1, android SDK dependency version 2.1.0.
0.1.2 #
- Test version, with native iOS SDK dependency version 2.0.1, android SDK dependency version 2.1.0.
0.1.1 #
- Test version, with native iOS SDK dependency version 2.0.1, android SDK dependency version 2.1.0.
0.1.0 #
- Test version, with native iOS SDK dependency version 2.0.1, android SDK dependency version 2.1.0.
0.0.1 #
- Test version, with native iOS SDK dependency version 2.0.1, android SDK dependency version 2.1.0.