Filling the screen of an Android device with a web view is surprisingly difficult. I’d like to share my debugging war story in case it helps you out.It started with a simple request to display the same iframe our web checkout team uses in the Android traveler app in order to show users 3D Secure (3DS) challenges, part of a two factor authentication protocol for securing online credit and debit card transactions.

Decorative separator

Here is the 3DS challenge shown in our existing web checkout flow for reference, along with the mockup from our design team for Android.

#javascript

Sizing Android WebView iframes with JavaScript
1.40 GEEK