registerPush abstract method
Future<void>
registerPush({
- ZPNsIOSEnvironment iOSEnvironment,
- ZPNsIOSNotificationArrivedConfig iOSNotificationArrivedConfig,
- bool enableIOSVoIP,
- ZPNsWebConfig webConfig,
Available since: 2.1.0 or later.
Description: This method is used to register vendor offline push.
Use cases: This method is called when a developer needs to use offline push.
When to call /Trigger: It can be called when needed. There are no prerequisites.If you want to use voIP for iOS, you'll need to call CallKit.setInitConfiguration
before doing so.
Implementation
Future<void> registerPush({ZPNsIOSEnvironment iOSEnvironment, ZPNsIOSNotificationArrivedConfig iOSNotificationArrivedConfig, bool enableIOSVoIP, ZPNsWebConfig webConfig});