简体   繁体   English

在工作单中不使用身份验证的推送通知出错

[英]Error in push notification without using authentication in worklight

I am trying to create a demo on push notification in worklight. 我正在尝试在worklight中创建推送通知的演示。 I am new to worklight . 我是新来的工作灯。 Can i do push notification to a android device without authentication. 我可以在没有身份验证的情况下将通知推送到Android设备。

As i got no answer for this question for more thant 10 month and i had time to solve the doubt, I am posting the answer 由于我在10个月内没有得到这个问题的答案,而且我有时间解决疑问,我正在发布答案

Yes we can do by using Persistent cookie authentication that doesnt want any interaction with the user . 是的,我们可以通过使用不希望与用户进行任何交互的持久性cookie身份验证来实现。 The persistent cookie authentication is a header based authentication . 持久性cookie身份验证是基于头的身份验证。

I found the answer from the following stackoverflow question 我从以下stackoverflow问题中找到了答案

http://stackoverflow.com/questions/20542930/worklight-push-notification-without-user-id

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM