ios - Urban Airship : Error "Failed to associate named user with status: 403"

标签 ios swift push-notification apple-push-notifications urbanairship.com

我正在我的 iOS 移动应用程序中集成 Urban Airship。推送通知工作正常,但是当我尝试调用

UAirship.namedUser().identifier = name
UAirship.push().updateRegistration()

出现错误

Failed to associate named user with status: 403

最佳答案

解决方案

在 Urban Airship Dashboard 中选择 Project ,转到 Setting -> API & Integration -> Named Users -> Give permission to Allow Named Users to be set from devices

关于ios - Urban Airship : Error "Failed to associate named user with status: 403",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49858183/

相关文章:

ios - Swift 清除特定的远程通知

android - 服务器更新设备未使用

ios - Swift 中的自定义表格 View 单元格,没有 Storyboard

iphone - Cocos2D 与 iOS6 旋转错误

ios - 我无法使用 Swift 4.0 使用 Spotify iOS SDK 播放音乐

ios - (iOS) 增加与 GameScene 相关的内存消耗

android - 推送通知提供商如何通过选择推送给用户?

objective-c - 使用 ARC 从导航 Controller 弹出时保留 View Controller

ios - 我该如何修复此警告消息。警告 : Ignoring user defined runtime attribute for key path "radius" on instance of "UIButton"

ios - UIBezierPath 和曲线指向但只有一个 CGPoint 而不是两个