Open bradrice opened 6 years ago
Hi guys! Any ideas for this issue? i have the same problem.
I have the same issue. Any idea ? Can someone post a working example with angular 7?
I have the same issue. Any update here?
Hello, In iOS, the webview is restricted to not execute js code in local (via file://) unless add custom config, but I think since tns@5.3, NS have added the support for loading local file via file:// protocol. Please, verify with the latest webview in tns@5.3 if it works. Otherwise, don't load local file directly to iOS webview, instead, create a local server that serve your www, then load the local server's url to your webview to test the code if it works.
I have my code running fine on ios in the simulator, but for some reason will not work on the real device.
I've created a playground:
https://play.nativescript.org/?template=play-ng&id=avDVF8&v=21
I'm trying to append html to the webview and then get the height of the body back so I can set my webview height in nativescript.