首页 > 解决方案 > 反应原生iOS如何在获得新的远程通知后制作后台进程,而无需打开应用程序

问题描述

我使用 react-native-firebase 来获取远程通知,我希望在获取远程通知(仅限数据)后在后台执行一些处理,而不打开应用程序(不点击通知)。

我读到:

  1. 通知服务扩展 - https://developer.apple.com/documentation/usernotifications/unnotificationserviceextension

  2. https://github.com/react-native-webrtc/react-native-voip-push-notification

但我没有让它工作,也许有人有这种情况的经验?

标签: iosreact-nativereact-native-iosreact-native-firebase

解决方案


推荐阅读