我在windows build中遇到了worklight init的问题。 它第一次被调用时,它会在超时之前失败,但第二次是成功而没有任何问题。任何帮助,将不胜感激。感谢
客户端日志:
ondeviceready event dispatched
wlclient init启动
CookieMgr读取cookie:{}
之前:initOptions.onSuccess
请求[/ apps / services / api /.../ windowsphone8 / init]
之后:initOptions.onSuccess
添加了onPause和onResume事件处理程序
请求[/ apps / services / api /.../ windowsphone8 / init]
申请现已上线。
回复[/apps/services/api/.../windowsphone8/init]成功: / * - 安全 -
{"用户偏好设置":{}," WL-认证成功" {" wl_directUpdateRealm" {"用户id":& #34;空""属性":{}," isUserAuthenticated":1,"显示名":"空",& #34; DEVICEID":"空"}" wl_remoteDisableRealm" {"用户id":"空""属性":{}," isUserAuthenticated":1,"显示名":"空"" DEVICEID":"空"}" wl_antiXSRFRealm" {"用户id":" 47u3k5h5bh7vkam0nbgqkhmnfd""属性":{}," isUserAuthenticated":1,"显示名":" 47u3k5h5bh7vkam0nbgqkhmnfd"" DEVICEID":" ...."},&# 34; wl_deviceNoProvisioningRealm" {"用户id":" eEMg454f + / EF1RhvvAr / BL + Le7miVqMXIeKuglII9VA =""属性" {" mobileClientData&# 34;:" com.worklight.core.auth.ext.MobileClientData@d3af5afd"}" isUserAuthenticated":1,"显示名":" eEMg454f + / EF1RhvvAr / BL + Le7miVqMXIe KuglII9VA ="" DEVICEID":" ...."}" wl_anonymousUserRealm" {"用户id":& #34; ...""属性":{}," isUserAuthenticated":1,"显示名":" ... "" DEVICEID":" ..."}}," gadgetProps" {"环境与#34;:&#34 ; windowsphone8"}" USERINFO" {" SubscribeServlet" {"用户id":空,"属性":{}, " isUserAuthenticated":0,"显示名":空," DEVICEID":空}" wl_directUpdateRealm" {"用户id&# 34;:"空""属性":{}," isUserAuthenticated":1,"显示名":"空&# 34;," DEVICEID":"空"}" SingleStepAuthRealm" {"用户id":空,"属性&#34 ;:{}," isUserAuthenticated":0,"显示名":空," DEVICEID":空}" wl_authenticityRealm":{& #34;用户id":空,"属性":{}," isUserAuthenticated":0,"显示名":空," DEVICEID&# 34;:N ULL}" SampleAppRealm" {"用户id":空,"属性":{}," isUserAuthenticated":0,&#34 ;显示名":空," DEVICEID":空}" wl_remoteDisableRealm" {"用户id":"空"&# 34;属性":{}," isUserAuthenticated":1,"显示名":"空"" DEVICEID":&# 34;空"}" wl_antiXSRFRealm" {"用户id":" ...""属性":{} " isUserAuthenticated":1,"显示名":" ..."" DEVICEID":" ...& #34;}" wl_deviceAutoProvisioningRealm" {"用户id":空,"属性":{}," isUserAuthenticated":0,& #34;显示名":空," DEVICEID":空}" wl_deviceNoProvisioningRealm" {"用户id":" ...&# 34;,"属性" {" mobileClientData":" com.worklight.core.auth.ext.MobileClientData@d3af5afd"}" isUserAuthenticated&# 34;:1,"显示名":" eEMg454f + / EF1RhvvAr / BL + Le7miVqMXIeKuglII9VA =& #34;" DEVICEID":" eEMg454f + / EF1RhvvAr / BL + Le7miVqMXIeKuglII9VA ="}" MYSERVER" {"用户id&#34 ;: " ...""属性":{}," isUserAuthenticated":1,"显示名":" 6cad1d09- 5770-4090-9f21-057841e16eb3"" DEVICEID":" ..."}" wl_anonymousUserRealm" {"用户id&#34 ;:" ...""属性":{}," isUserAuthenticated":1,"显示名":" ..."" DEVICEID":" ....."}}} * /
wlclient连接成功
请求[/ apps / services / loguploader]
请求[/ apps / services / loguploader]
申请现已上线。
响应[/ apps / services / loguploader]成功:
申请现已上线。
响应[/ apps / services / loguploader]成功:
捎带事件传输
Flush叫