Worklight中的Worklight推送通知,无需身份验证 [英] Worklight Push notification in app without authentication

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

问题描述

我正在尝试为Worklight应用程序实现推送通知功能。
在Push文档中,声明app应该使用身份验证,示例项目也包含用于此目的的登录表单。问题是我的应用程序不需要任何身份验证和/或登录。我已成功部署PushAdapter,也是所需的客户端代码,但我无法在WL的Push通知控制台中注册客户端。

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.

谢谢

推荐答案

Worklight Push需要身份验证。您的Push适配器将使用userid查找要推送到的设备。如果移动设备未使用某些用户ID进行身份验证,则无任何意义。

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.

这篇关于Worklight中的Worklight推送通知,无需身份验证的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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