Xam.Plugin.Webview icon indicating copy to clipboard operation
Xam.Plugin.Webview copied to clipboard

Allow cross site content

Open CR4567 opened this issue 6 years ago • 1 comments

Hi,

is it possible to add the "setAllowUniversalAccessFromFileURLs(boolean flag)" option for android? I'm using a local html page which loads an external javascript library. For iOS everything is fine but android throws an error: Access-Control-Allow-Origin is null

Best regards Chris

CR4567 avatar Apr 12 '18 09:04 CR4567

That's what I was trying to achieve with a PlatformEffect, but then I used a custom renderer instead that sets that property. https://github.com/SKLn-Rad/Xam.Plugin.Webview/issues/86

roygoode avatar May 15 '18 17:05 roygoode