discontinuedPackage tim_ui_kit_push_plugin has been discontinued and replaced by tencent_cloud_chat_push.

init method

  1. @override
Future<void> init(
  1. PushClickAction onClickNotificationFunction
)
override

Developers should not use this field directly Initialize Google FCM

Implementation

@override
Future<void> init(PushClickAction onClickNotificationFunction) async {
  onClickNotification = onClickNotificationFunction;
  await setupGoogleInteractedMessage();
  return;
}