Worklight Push notification in app without authentication

主宰稳场 提交于 2020-01-03 05:23:09

问题


I am trying to implement the push notification feature for a Worklight application. In the Push docs it is stated that the app should use authentication, also the sample project contains a login form used in this purpose. The problem is that my app does not require any authentication and/or login. I have the PushAdapter successfully deployed, also the required client code but I cannot get the client registered in the WL's Push notification console.

Any hints will be appreciated.

Thanks


回答1:


Authentication is required for Worklight Push. Your Push adapter is going to use userid to find the device to push to. This wouldn't make any sense if the mobile device didn't authenticate with some user id.



来源:https://stackoverflow.com/questions/22784557/worklight-push-notification-in-app-without-authentication

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!