Can't close iOS in app browser on iPad
I use widow.open(Url) to open a PDF file. I have tried every permutation of that that I can find on this board from multiple threads and they have varying success, but when I use an iPad I can never get the inAppBrowser to allow me to close the PDF and go back to the application. Instead I must completely close the application. How do I fix this? How do I display the close or done button?
-
Hello Jackson,
Have you tried using the in-app browser?
Please review this thread on our forum for the answer:
https://getsatisfaction.com/apperyio/...
Note: the indicated tutorial is outdated, so please use these links to check the current ones: https://docs.appery.io/docs/cordova-j...
or
https://docs.appery.io/docs/cordova-i.... -
-
Galyna,
Thanks for responding. I implemented the tutorials you suggested and none of the methods to open a url in the tutorial allowed me to close that url and return to the app when using iOS.
All 3 attempts came up like this. FYI the left arrow at the top just brings up Appery menu that is not related to my app. Still no way to click done or go back.
Did I need to publish the app to test to see if it is working correctly?
Any other thoughts? -
-
Hello,
Please add window parameters like toolbar and location into your inAppBrowser:
window.open(url, '_blank', 'location=yes','toolbar=yes');
-
-
-
Are you testing this in Appery.io Tester App? -- please give a try as installed binary file on the device.
-
-
Yes, I am. I will give it a try and report back. Thanks.
-
-
-
-