3 ms·
> The in app browsers have an “open in Safari” button, they were clicking that - so they could use their prefers payment method - and loosing their session and
by solarkraft 4y ago
> The in app browsers have an “open in Safari” button, they were clicking that - so they could use their prefers payment method - and loosing their session and shopping cart. It was catastrophic!
This is one of the few instances in which Android went to some lengths to provide a good UX. An IAB can transition into the real thing without even re-rendering or blinking - and it has all the user data of the main browser.
- jefftk 4y agoThat's not quite right. A real in-app browser on Android, like Facebook's, has fully independent state. But Android also supports a feature called Custom Tabs, where you can have something that looks an acts a lot like an in-app browser but is actually your default browser under the hood. The embedding app gives up some control over it, and can't for example, inject custom JavaScript, but in exchange it shares state with the default browser. More: https://developer.chrome.com/docs/android/custom-tabs/ https://developer.chrome.com/docs/android/custom-tabs/