• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
0

StageWebView question

New Here ,
Nov 05, 2014 Nov 05, 2014

Copy link to clipboard

Copied

Hi :

I can not connect to dropbox by using StageWebView to open a window inside my App in iPad Air,

but it works fine in PC iOS simulator. I get the user agent string by What's My User Agent?.

User agent string in PC iOS simulator:

Mozilla/5.0 (Linux; U; Android 2.2; en-us) AppleWebKit/533.19.4 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.19.4 AdobeAIR/14.

The user agent string is lacking of "Safari" on iPad Air as following by using StageWebView :

  • iOS in iPad Air with the test App
    Mozilla/5.0 (iPad; CPU OS 8_1 lik Mac OX S) AppleWebKit/600.1.4 (KHTML, like Gecko) Mobile/12B410

I think it should be the same as the native ? or at least I can get something like "Safari" ?

  • Safari in iPadAir
    Mozilla/5.0 (iPad; CPU OS 8_1 like Mac OSX) AppleWebKit/600.1.4 (KHTML, like Gecko) Version/8.0 Mobile/12B410 Safari/600.1.4

It would be appreciated if anyone could give me some suggestions.

Best Wishes,

Ben

TOPICS
Development

Views

472

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

New Here , Nov 10, 2014 Nov 10, 2014

I found the reason, I forgot to set the StageWebView() to true.

code:

webView = new StageWebView(true);

Once I set it for the constructor, the problem is solved.

Votes

Translate

Translate
New Here ,
Nov 10, 2014 Nov 10, 2014

Copy link to clipboard

Copied

LATEST

I found the reason, I forgot to set the StageWebView() to true.

code:

webView = new StageWebView(true);

Once I set it for the constructor, the problem is solved.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines