我们可以以及如何使用 Urbanairship for iOS 应用程序 Enterprise Distribution?
我在 iOS 开发中使用 Urbanairship 进行推送通知。到目前为止,在使用他们的开发模式进行开发过程中,它运行得非常完美。
但是,当我使用他们的生产模式创建应用程序时,它从未起作用。当我更改为开发模式而不对代码进行任何其他更改(除了船舶使用的密钥)时,它会起作用。飞艇也无法使用生产模式通过其门户网站发送测试推送通知。
我怀疑这是因为我们正在使用苹果企业分发程序(内部分发)。
I'm using Urbanairship for push notification in iOS development. So far it worked perfect during development using their development mode.
However, when I created the application using their production mode, it never worked. When I changed to development mode without any other change to my code but the keys used by the ship , it would work. The airship can not send the test push notification through their web portal using the production mode, either.
I suspect it's because we're using the apple enterprise distribution programme (in house distribution).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
通过确保应用程序在生产模式而不是开发模式下运行来解决这个问题。
我重新做了以下操作,现在没问题了。
1)在Apple开发者门户中申请新的推送通知证书进行生产。
2)在urbanairship中创建一个新的生产应用程序并将证书上传到UrbanAirship
3)使用步骤2)中获得的新密钥
4) 确保应用程序在生产模式下运行。对我来说,我在 XCODE 中编辑方案,将运行命令的构建配置从调试更改为发布。
It's solved by ensuring the app is running in production mode instead of development mode.
I re-did the following and it's ok now.
1) apply a new push notification certificate for production in Apple developer portal.
2) create a new production app in urbanairship and upload the certificate to UrbanAirship
3) using the new keys got in steps 2)
4) ensure the app is running in production mode. For me, I edit the scheme in XCODE,change the build configuration from debug to release for the Run command.