I’m trying to load a local leaflet map in a webview. The local html and resources (js, css) load fine, but then some information for the map has to be loaded from a json (geojson) local file.
The json local file is not loaded into the map, I guess it’s a CORS issue.
I tried to set these properties to the webview:
webView:setNativeProperty( “allowFileAccessFromFileURLs”, true )
webView:setNativeProperty( “allowUniversalAccessFromFileURLs”, true )