diff --git a/CHANGELOG.md b/CHANGELOG.md index ff49fa0167..7a5f541c39 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ - Android: fix stuck back button after closing a dialog - Fix authentication view glitch at startup - Remove "No priority" from fee options +- Fix Moonpay widget loading issues # 4.45.0 - Bundle BitBox02 firmware version v9.21.0 diff --git a/frontends/android/BitBoxApp/app/src/main/java/ch/shiftcrypto/bitboxapp/MainActivity.java b/frontends/android/BitBoxApp/app/src/main/java/ch/shiftcrypto/bitboxapp/MainActivity.java index 83752f3926..b08aaf75dd 100644 --- a/frontends/android/BitBoxApp/app/src/main/java/ch/shiftcrypto/bitboxapp/MainActivity.java +++ b/frontends/android/BitBoxApp/app/src/main/java/ch/shiftcrypto/bitboxapp/MainActivity.java @@ -217,7 +217,9 @@ public void run() { vw.getSettings().setJavaScriptEnabled(true); vw.getSettings().setAllowUniversalAccessFromFileURLs(true); vw.getSettings().setAllowFileAccess(true); - // For MoonPay WebRTC camera access. + + // For Moonpay widget: DOM storage and WebRTC camera access required. + vw.getSettings().setDomStorageEnabled(true); vw.getSettings().setMediaPlaybackRequiresUserGesture(false); vw.setWebViewClient(new WebViewClient() {