Skip to main content
Participating Frequently
March 10, 2016
Question

StageWebView crash with a proxy

  • March 10, 2016
  • 1 reply
  • 918 views

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 has been closed for replies.

1 reply

Mayank_Gupta
Adobe Employee
Adobe Employee
March 11, 2016

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

Participating Frequently
March 11, 2016

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,

Mayank_Gupta
Adobe Employee
Adobe Employee
March 11, 2016

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.