Hi Katya
Thank you for your reply.
I have tested this app on a couple of android devices a Samsumg Galaxy and a Google (Vodafone) Smart 4.
In detail what happens:
A user of the app would like to report that their vehicle has broken down. They navigate the breakdown page (Breakdown.html).
The app then uses geolocation to get the users location. Once their co-ordinates have been received and recorded in local storage the user of the app can then click the 'Request recovery' button.
Once the 'Request recovery' button has been clicked, the InAppBrowser opens and connects to Paypal, which all works fine.
Once the app user has logged into Paypal, and paid for the service, paypal tries to redirect to the confirmation page of the app (SentComplete.html) which is the url given to Paypal and contained in the 'approval_url' local storage. But this bit doesnt happen, the InAppBrowser doesn't close, it stays open and displays the appery.io login page.
So I need the inAppBrowser to close and then the app needs to redirect to the confirmation page sentComplete.html.
This works fine opening as a web app on all browsers and using your own appery app on devices.
Any help would be much appreciated. I can share the app with you if needed etc.