0
我有我的工作燈的應用程序一個按鈕,訂閱應用程序和用戶的通知源在幾乎相同的方式爲這個URL通知樣本:http://www.ibm.com/developerworks/mobile/worklight/getting-started.html#advanced在工作燈的客戶端設備忘記他們通知訂閱
的問題是當設備重新啓動/或應用程序關閉,我需要重新登錄 - isSubscribed函數將返回false - 儘管以前是真實的。
客戶端是否意味着自動保存訂閱?通過多個設備/應用重新啓動來維護訂閱通知源的最佳做法是什麼?
這是我securityTests設置:
<securityTests>
<customSecurityTest name="WebServicesAdapters-securityTest">
<test isInternalUserID="true" realm="CustomAuthenticatorRealm"/>
</customSecurityTest>
<mobileSecurityTest name="PushApplication-strong-mobile-securityTest">
<testUser realm="CustomAuthenticatorRealm"/>
<testDeviceId provisioningType="none"/>
</mobileSecurityTest>
</securityTests>
不完全確定這裏......但是,你確定你使用的是相同的領域? – 2013-03-14 17:32:09
與什麼相同的境界? – RenegadeAndy 2013-03-14 17:39:29
安迪,忘記我以前的評論;我問過 - 這是v5.0.5.x中的一個缺陷,在5.0.6中修復(爲解決此問題,您可以嘗試使用不基於適配器的身份驗證。如果僅保護適配器,則應用程序必須也受到保護)。如上所述,這在5.0.6中是固定的。 – 2013-03-15 15:19:42