1

在过去的几天里,我一直希望使用云服务 IBM Bluemix 在我的 IBM Worklight 项目中实现推送通知。根据我的要求,我没有得到任何好的资源/样本。

请帮助我找到使用 IBM Bluemix 服务在 IBM Worklight 移动应用程序中推送通知的解决方案。我尝试了以下参考:

http://www.ibm.com/developerworks/library/mo-android-push-app/index.html

https://github.com/ibm-bluemix-mobile-services/bms-samples-cordova-hellopush

4

2 回答 2

1

Bluemix 推送通知实现与 Worklight 应用程序不兼容。如果您想在 Worklight 应用程序中使用推送通知,请使用 Worklight 提供的推送 API:https ://mobilefirstplatform.ibmcloud.com/tutorials/en/foundation/7.1/notifications/push-notifications-overview/

于 2016-05-03T06:36:43.270 回答
0

如果您想成为一个叛逆者并尝试让混合应用程序在 Worklight 中与 IBM Push Notifications on Bluemix 一起工作,您可以尝试按照我在“如何使用 Bluemix 在混合移动应用程序中实现推送通知”的答案中概述的步骤

但是,由于 Idan 提到的一些限制,您将只能让 Android 正常工作。我们目前没有针对 iOS 的任何解决方法。

另外,查看今天发布的这些文章,以获得更准确和最新的教程(原生 ios 和 android)

http://www.ibm.com/developerworks/library/mo-mobile-application-security-bluemix-mobile-services-1-trs/index.html

http://www.ibm.com/developerworks/library/mo-mobile-application-security-bluemix-mobile-services-2-trs/index.html

于 2016-05-05T15:28:57.500 回答