无法在 iOS 中接收推送通知? [英] Can't receive push notification in iOS?

查看:34
本文介绍了无法在 iOS 中接收推送通知?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试使用 IBM mobile first 8 发送通知,但我无法在 IOS 中接收通知.

Im trying to send notification with IBM mobile first 8 but i can't receive notification in IOS .

deviceId 已很好地注册到 IMF 服务器但是当我尝试测试并将通知从服务器发送到我的应用程序时.未收到通知.

The deviceId is well registered to IMF server But when i try to test and send notification from server to my app .the notification is not received .

我使用了这个文档:https://github.com/MobileFirst-Platform-Developer-Center/PushNotificationsCordova/blob/release80/www/js/index.js

我可以在 Android 中接收通知.

I can receive notification in Android .

感谢您的帮助.

推荐答案

您只指向 javascript 文件,而不指向您遵循的说明.您应该通过详细的分步审查您所做的事情来编辑您的问题.

You only point to the javascript file, not to the instructions that you followed. You should edit your question with detailed step-by-step review of what you've done.

此外,对于 iOS,您还应该确保在 Xcode 设置中启用了钥匙串共享.

Additionally, for iOS you should also make sure that Keychain sharing is enabled in your Xcode settings.

这篇关于无法在 iOS 中接收推送通知?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆