iOS 配置
复制一条配置 prompt,包含安装步骤和该插件的完整 Markdown 指南。
标准的本地通知不需要自定义 Info.plist 键。请在显示通知前调用 RichNotifications.requestPermission() 以显示通知。
Register action categories with registerActions 并在每条通知中引用 categoryId 。使用 interruptionLevel 用于 iOS 15+ 的送达优先级。
timeSensitive 当用户允许时,可以突破“专注模式” 即“重要通知” (Time Sensitive Notifications) 在设置中为您的应用开启。仅靠 API 无法启用此功能。
该 critical 中断级别需要 Apple 的 Critical Alerts 权限。否则,请使用 timeSensitive 或 active.