getLaunchAppNotification method

Future<Map> getLaunchAppNotification()

iOS Only 点击推送启动应用的时候原生会将该 notification 缓存起来,该方法用于获取缓存 notification 注意:notification 可能是 remoteNotification 和 localNotification,两种推送字段不一样。 如果不是通过点击推送启动应用,比如点击应用 icon 直接启动应用,notification 会返回 @{}。 @param {Function} callback = (Object) => {}

Implementation

Future<Map<dynamic, dynamic>> getLaunchAppNotification() async {
  print(flutter_log + "getLaunchAppNotification:has not been implemented.");
  return {};
}