我正在尝试使用expo-bare工作流实现世博会推送通知。当我运行应用程序时,它给我这样的错误,所以我无法获得令牌。_ExponentNotifications.default.getExponentPushTokenAsync')]import { Notifications } from "expo";import Constants from &qu
我正在处理世博会通知,一切都很好,直到我意识到我需要以某种方式通过调用Notifications.addPushTokenListener来更新世博会令牌,因为世博会刷新一个新的令牌,旧的将停止工作。// with this I get an expo token Ok// typeexpo data: "ExponentPush
推送通知可以很好地加载到我的iOS手机上。我可以获取令牌,并成功地将其保存到我的Google Firestore数据库中,并从其中调用它。调用它来发送通知也可以像预期的那样工作。在构建到iOS并将独立应用程序部署到苹果服务器上的TestFlight之后,推送通知不再起作用。Checking if there is a build in progress...Building <em
无法在expo-notifications api上使用getExpoPushTokenAsync()函数获取令牌。以下功能与世博会文档完全相同:import Constants from "expo-constants";import * as Permissions from "expo-permissions"
我正在尝试我的expo/react-native项目向我的服务器发送推送通知。它可以在独立的安卓系统上运行,但不能在独立的iPhone系统上运行。 独立的iPhone应用程序从不发送令牌。let finalStatus = existingStatus;
}
// Get the push token that uniquel