求助大佬, Expo 的 push notifications 提示错误
資深大佬 : wuxi889 0
第一次使用 expo,看文档已经很清楚了,而且新起一个基础项目也能获取到 token
https://docs.expo.io/push-notifications/sending-notifications/
但是!但是我的项目就是获取不到 token,并且提示
Error: Encountered an exception while calling native method: Exception occurred while executing exported method getDevicePushTokenAsync on module ExpoPushTokenManager: Default FirebaseApp is not initialized in this process com.adminapp. Make sure to call FirebaseApp.initializeApp(Context) first.
我要的是 expo push notifications 不是 firebase 的推送。这个问题我网上查询了好多答案(很多都是让去看文档),但都没有能解决我的问题。
求大佬解答一下
大佬有話說 (7)