Skip to main content
Participating Frequently
Mar 10, 2016 5:33 PM UTC
Question

StageWebView crash with a proxy

Hello,

I'have got a problem with the StageWebView object when it use with a proxy on a mobile Android Application.

On a mobile with a direct Internet connection, we have no problem.

But when the connection is by a proxy we have a crash on our app.

The StageWebView dispatch no error before the crash and a try catch dispatch no error too.

We are on a 4.4.2 version of Android and the model is Samsung Galaxy Tab 4.

The code to create the webview is :

_webView = new StageWebView();

_webView.stage = this.stage;

_webView.viewPort = new Rectangle(48,90, 1182, 600); // tab 4

_webView.loadURL(pUrl);

Thank you in advance for your answers.

This topic is closed to new replies. Start a new post to keep the conversation going.

12 replies

Mayank_Gupta
Adobe Employee
Adobe Employee
Mar 11, 2016 12:22 PM UTC

Hello,

Thanks for reporting the issue.

We tried this issue by making sample project using fiddler proxy option on Samsung Galaxy Tab 4 on Android 4.4.2 device and it's working fine. Please find the attached for my sample project and try to run.

Could you please share your sample project or more information so that it will be helpful for us to reproduce at our end.

Regards,

Mayank

Translate
Participating Frequently
Mar 11, 2016 12:30 PM UTC

Hello,

It seems is an url in particulary which make crash.

I send you the url to test if it's work for you :

Load the url : http://www.harmonie-prevention.fr/Rub_1077/demain-s-invente-aujourd-hui.html with the StageWebView's object then clicked on the button "SANTE AU QUOTIDIEN" on the menu. This is the steps which crash my application.

Could'you tell me if it's work with your proxy configuration ?

Regards,

Translate
Mayank_Gupta
Adobe Employee
Adobe Employee
Mar 11, 2016 1:22 PM UTC

Yes, it's also working for the given url with same project and proxy settings. Also explored different tabs and options in the application but app didn't crash.

Translate