Highlighted

StageWebView crash with a proxy

New Here ,
Mar 10, 2016

Copy link to clipboard

Copied

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.

TOPICS
Performance issues

Views

531

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 crash with a proxy

New Here ,
Mar 10, 2016

Copy link to clipboard

Copied

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.

TOPICS
Performance issues

Views

532

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
Mar 10, 2016 0
Adobe Employee ,
Mar 11, 2016

Copy link to clipboard

Copied

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

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...
Mar 11, 2016 0
New Here ,
Mar 11, 2016

Copy link to clipboard

Copied

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,

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...
Mar 11, 2016 0
Adobe Employee ,
Mar 11, 2016

Copy link to clipboard

Copied

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.

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...
Mar 11, 2016 0
New Here ,
Mar 11, 2016

Copy link to clipboard

Copied

Is not possible for me to test you apk in condition (because the problem is on a device of a client and I can't reproduce his proxy configuration and for the moment I don't have answer from him).


Perhaps, is possible for you to test the app to tell me if the app work for you.

You can find it here : http://www.seventhmedia.be/harmonie/Harmonie_EASS.zip

The steps to reproduce the crash on the app are :

- click on the button "LE PROGRAMME DEMAIN S'INVENTE AUJOURD'HUI"

- click on the button "SANTE AU QUOTIDIEN" when the website is loaded.

Regards,

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...
Mar 11, 2016 0
Adobe Employee ,
Mar 18, 2016

Copy link to clipboard

Copied

http://www.seventhmedia.be/harmonie/Harmonie_EASS.zip this link is not working "Session timeout" message appears. Please check it or attach project here.

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...
Mar 18, 2016 0
New Here ,
Mar 18, 2016

Copy link to clipboard

Copied

It's strange, when I click on the link, it's working for me.

Where can I attach project because I don't see where can I join file or send file ?

Regards,

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...
Mar 18, 2016 0
Adobe Employee ,
Mar 18, 2016

Copy link to clipboard

Copied

You can attach file or zip file here by -

Reply > Use advanced editor(top right corner) > Attach(bottom right corner)

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...
Mar 18, 2016 0
New Here ,
Mar 18, 2016

Copy link to clipboard

Copied

I'm sorry, but on the editor, I just see the options @citation !App on the bottom right corner.

I don't see the attach button.

Regards,

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...
Mar 18, 2016 0
Adobe Employee ,
Mar 21, 2016

Copy link to clipboard

Copied

You can find attach option in advanced editor (Reply > Use advanced editor(top right corner) > Attach(bottom right corner) )

If you will still unable to find attach option please share code to my email id - maygupta@adobe.com

-Mayank

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...
Mar 21, 2016 0
Adobe Employee ,
Mar 21, 2016

Copy link to clipboard

Copied

Hello,

Thanks for sharing the resources, Your apk is working fine for me on Samsung Galaxy Tab 4, tried all steps as you described and other steps also but there is no crash.

I am using fiddler for proxy setting. Could you please try to use fresh and latest AIR SDK from Download Adobe AIR SDK

-Mayank

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...
Mar 21, 2016 0
New Here ,
Mar 25, 2016

Copy link to clipboard

Copied

Thank you for your answer,

I won't be able to test before end next week, I will return to you after the test.

Perhaps, is it possible to know how you configure you proxy, because our client's informatic service would like to know if they don't forget to do something or if the proxy configuration coul'd make problems.

They use a proxy configuration with authentification.

Regards,

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...
Mar 25, 2016 0
Adobe Employee ,
Mar 28, 2016

Copy link to clipboard

Copied

Please find this link to configure the fiddler proxy for android -

http://docs.telerik.com/fiddler/Configure-Fiddler/Tasks/ConfigureForAndroid

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...
Mar 28, 2016 0