2015-06-06 53 views
0

我目前正在創建一個具有stagewebview的應用程序來顯示網站的內容。當我在正常的Android瀏覽器加載這個頁面,我得到了認證彈出,它允許用戶登錄,如下圖所示:Air for Android StageWebView問題

This is on the browser

當我測試的電影閃存毫升親們,這是我得到:

enter image description here

但是,當我把APK到設備並播放,還有對話框沒有任何跡象,它只是直行到未授權的頁面,而不給我登錄的選項。

任何人都可以幫助我與這個即時通訊相當卡住修復。

感謝

回答

1

差異在下面的博文中提到的StageWebView中 https://helpx.adobe.com/air/kb/stagewebview-differences-platforms-air-sdk.html

上面清清楚楚地寫着

**HTTP authentication dialog is not implemented on mobile (iOS/Android)** 

Currently no default UI is implemented on mobile for HTTP authentication. On 
desktop HTTP authentication uses the default OS dialog for authentication. 
Event though the authentication dialog is disabled, the developer can create 
their own UI and use the URLRequest API to do basic or digest authentication. 
相關問題