在过去的几天里,我一直想使用云服务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
发布于 2016-05-03 14:36:43
Bluemix推送通知实现与Worklight应用程序不兼容。如果您希望在Worklight应用程序中使用推送通知,请使用Worklight提供的推送API:https://mobilefirstplatform.ibmcloud.com/tutorials/en/foundation/7.1/notifications/push-notifications-overview/
发布于 2016-05-05 23:28:58
如果您想成为一个叛逆者,并尝试让混合应用程序在Worklight中与Bluemix上的IBM推送通知一起工作,您可以尝试遵循我在this answer to "How to implement Push Notification in Hybrid Mobile Application using 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
https://stackoverflow.com/questions/36996990
复制相似问题