I am using webViewInterface
plugin in nativescript 8 with webpack v5
I am trying to launch local downloaded file ex. video, audio, HTML files
I am able to download those files but while running that file with the help of webview I am getting
file not found
chromium: [INFO:CONSOLE(1)] "Uncaught TypeError: Cannot read property '_onNativeEvent' of undefined", source: chrome-error://chromewebdata/
In NativeScript, by default, the tilde (~) marks the app root folder (note the App and not the Project!). So if my file is located in <project-name>/app/index.html
then I need to set a path like this ~/index.html
.
this was working fine with natviescript v6
but after upgrading to nativescript v8
it broke.
can anyone please help???