Conversation
|
👍 |
|
Nooooooooooooo! I need that property. There is no other way to load a local html file with a querystring; passing |
|
@EddyVerbruggen We should be able to make this work with |
|
@vakrilov That would be awesome! Theoretically (looking at the code, which is in the common file of the module) it's for both platforms, but I only verified this on iOS. What I'm doing now is loading a map with natively determined lat/lng (to suppress a very nasty web-geolocation prompt on iOS): webView.url = `file:///${fs.knownFolders.currentApp().path}/mypath/map.html?lat=${location.lat}&lng=${location.lng}`;With the webView.src = `~/mypath/map.html?lat=${location.lat}&lng=${location.lng}`;The local HTML file queries the url and extracts the lat/lng params. But it could be anything of course. You can just do: webView.src = '~/mypath/myfile.html?foo=bar';Currently it won't find <!DOCTYPE html>
<html>
<script type="text/javascript" charset="utf-8">
alert("URL: " + document.location.href);
</script>
</html> |
|
IMO, I think we should keep both properties:
|
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Using
urlwill throw exception now.