【发布时间】:2021-09-02 20:33:39
【问题描述】:
我正在使用华为推送服务开发一个应用程序,直到最近几天它都运行良好
String appId = AGConnectServicesConfig.fromContext(this).getString("client/app_id");
String hmsToken = HmsInstanceId.getInstance(this).getToken(appId, DEFAULT_TOKEN_SCOPE);
开始抛出未经授权的异常,我在应用程序库连接中检查了三次设置,一切看起来都很好
【问题讨论】:
-
另外,尝试卸载hmscore apk,重新安装看看问题是否依旧。
标签: android push-notification huawei-mobile-services pushkit huawei-push-notification