Android WebView shows blank page on checkout url

1 0 3

Hi, I'm building an android app using mobile buy sdk. I want to implement checkout through webview, but when I try loading returned url the webview shows blank page and I see these warnings in logcat:


Refused to frame '' because it violates the following Content Security Policy directive: "child-src". Note that 'frame-src' was not explicitly set, so 'child-src' is used as a fallback.
", source: (0)


The link works fine when I use default browser instead of webview. Has anyone faced such an issue? How can I solve it?

Reply 1 (1)

Shopify Partner
2 0 0

Activa la propiedad DomStorageEnabled

webview.Settings.DomStorageEnabled = true;