简体   繁体   English

设备未收到iOS推送通知

[英]iOS Push Notification not received on device

I am using pushy(Java API ) to send push notification to iOS devices. 我正在使用pushy(Java API)将推送通知发送到iOS设备。 Till now I was using development provisioning profile and everything was working perfectly till I moved to distribution profile for OTA distribution. 到现在为止,我一直在使用开发供应配置文件,并且一切正常,直到我转到OTA分发的分发配置文件。 I am able to download the app into my devices successfully but not receiving any push notification. 我能够将应用程序成功下载到我的设备中,但是没有收到任何推送通知。

  • Device is getting register to push notification successfully. 设备正在注册以成功推送通知。
  • Checked pushy methods, its not throwing any error. 检查pushy方法,它不会抛出任何错误。
  • Bundle ID in profile and app are matching (tried harcoding bundle id in info.plist) 配置文件和应用程序中的捆绑包ID匹配(info.plist中的尝试编码捆绑包ID)
  • Checked certificate using openssl and its connecting to APNS server as well. 使用openssl及其连接到APNS服务器的已检查证书。
  • Tried doing the process of creating profile and certificates all over again too. 也尝试过重新创建配置文件和证书的过程。

Any help will be great. 任何帮助都会很棒。 Thanks 谢谢

问题出在aps环境上,并且通过将其更改为生产解决了问题

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM