initialize abstract method

Future<void> initialize({
  1. String? type,
  2. bool? catchUncaughtExceptions,
})

初始化推送和分析

调用前请先查看下方合规指南

合规指南:

Android 合规指南

iOS 合规指南

type only phone, box

catchUncaughtExceptions 捕获漏网异常,只抓取原生异常

默认情况下,应用在前台是显示通知的。 开发者更改前台通知显示设置后,会根据更改生效。

Implementation

Future<void> initialize({
  String? type,
  bool? catchUncaughtExceptions,
});