目前正在使用 expo 开发一个聊天系统,但是现在我要实现应用之外的消息通知需要获取 exponentpushToken ,在 ios 上可以获取,在安卓上无法获取,有什么解决方案吗?
1
NathanDo 63 天前
Expo Android 端走的 FCM , 国内不用科学上网肯定不行
https://docs.expo.dev/push-notifications/overview/ " Expo makes implementing push notifications easy. All the hassle with device information and communicating with Firebase Cloud Messaging (FCM) or Apple Push Notification Service (APNs) is done behind the scenes. This allows you to treat Android and iOS notifications in the same way and save time both on the front-end and back-end. " |