init method
Developers should not use this field directly
Initialize APPLE APNS Push
Implementation
@override
Future<void> init(PushClickAction onClickNotificationFunction) async {
applePushConnector.configureApns(
onLaunch: (ApnsRemoteMessage message) async {
onClickNotificationFunction(message.payload);
return;
},
onResume: (ApnsRemoteMessage message) async {
onClickNotificationFunction(message.payload);
return;
},
);
return;
}