Highlighted

StageWebView question

New Here ,
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

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.

TOPICS
Development

Views

397

Likes

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

StageWebView question

New Here ,
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

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.

TOPICS
Development

Views

398

Likes

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
Nov 05, 2014 0
New Here ,
Nov 10, 2014

Copy link to clipboard

Copied

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.

Likes

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
Reply
Loading...
Nov 10, 2014 0