Page 1 of 1

Empty page with InAppBrowser after clicking back button on Android devices

Posted: Mon Jan 26, 2015 2:52 pm
by bal

Hi All,

Im using the inappbrowser and there are some links inside the pages (like tel:234245), when i open the phone caller and click on the back button on the device an empty html page will be shown in stead of returning back to the mobile application.

I have used window open with the _blank option, because of the header which i have manually added. _system is not an option, because of the fixed header which i want to add...


Empty page with InAppBrowser after clicking back button on Android devices

Posted: Mon Jan 26, 2015 6:49 pm
by Illya Stepanov

Hi Bal -

Of course you would see blank page, because you are opening new page instance with no history.
You need to close current page to see you app's page.


Empty page with InAppBrowser after clicking back button on Android devices

Posted: Tue Jan 27, 2015 1:00 pm
by bal

What is the best way to achieve this? So when we are in the dialer mode, and click on the back button of android, then closing the dialer? How can i catch that event?


Empty page with InAppBrowser after clicking back button on Android devices

Posted: Tue Jan 27, 2015 1:54 pm
by Maryna Brodina

Hello!

Please check PhoneGap docs http://docs.phonegap.com/en/4.0.0/cor...


Empty page with InAppBrowser after clicking back button on Android devices

Posted: Wed Jan 28, 2015 9:18 pm
by bal

Checked, but still no idea's how to remove the blank page when clicking on the back button. It should jump back into the app...


Empty page with InAppBrowser after clicking back button on Android devices

Posted: Fri Jan 30, 2015 7:59 am
by Evgene Karachevtsev

Hello Bal,

Unfortunately looks like this is a normal behavior of this plugin. You may try to modify it, hope these links will be useful for you:
http://stackoverflow.com/questions/20...
http://stackoverflow.com/questions/26...
http://stackoverflow.com/questions/16...


Empty page with InAppBrowser after clicking back button on Android devices

Posted: Thu Feb 19, 2015 10:22 pm
by bal

None of them have worked. What to do?


Empty page with InAppBrowser after clicking back button on Android devices

Posted: Fri Feb 20, 2015 6:28 am
by Evgene Karachevtsev

Hello Bal,

It the proposed approaches don't work for you you may try to use another plugin or search for the solution about how to change this plugin online. We are very sorry, but plugins are outside the scope of our support. (http://devcenter.appery.io/support-po...)