Closed sebj54 closed 1 week ago
Here is the PR for #15
I ran the Vue demo, the webview is showing but unfortunately it shows a ERR_FILE_NOT_FOUND error.
ERR_FILE_NOT_FOUND
Here is the console log:
Successfully synced application org.nativescript.demovue on device 08xxxxxxxx04. NativeScript-Vue has "Vue.config.silent" set to true, to see output logs set it to false. chromium: [0422/095951.608180:INFO:variations_seed_loader.cc(66)] Failed to open file for reading.: No such file or directory (2) chromium: [0422/095951.618066:INFO:variations_seed_loader.cc(66)] Failed to open file for reading.: No such file or directory (2) AWebView: WebViewExt.resolveLocalResourceFilePath("/data/data/org.nativescript.demovue/files/app/test-data/css/local-stylesheet.css") - no such file AWebView: WebViewExt<android>.registerLocalResource("local-stylesheet.css", "~/test-data/css/local-stylesheet.css") -> file doesn't exist AWebView: WebViewExt.src = "~/test-data/html/css-predefined-link-tags.html" startsWith ~/ resolved to "file:///data/data/org.nativescript.demovue/files/app/test-data/html/css-predefined-link-tags.html" AWebView: WebViewExt<android>._loadUrl("file:///data/data/org.nativescript.demovue/files/app/test-data/html/css-predefined-link-tags.html") AWebView: WebViewExt<android>._loadUrl("file:///data/data/org.nativescript.demovue/files/app/test-data/html/css-predefined-link-tags.html") - end AWebView: WebViewExt.src = "~/test-data/html/css-predefined-link-tags.html" - LoadUrl("file:///data/data/org.nativescript.demovue/files/app/test-data/html/css-predefined-link-tags.html") AWebView: WebViewClientClass.onPageStarted("com.nativescript.webviewinterface.WebView{b02b3a VFEDHVC.. ........ 0,165-1080,1700}", "file:///data/data/org.nativescript.demovue/files/app/test-data/html/css-predefined-link-tags.html", "null") AWebView: WebViewClientClass.onReceivedErrorBeforeAPI23(-1, "net::ERR_FILE_NOT_FOUND", "file:///data/data/org.nativescript.demovue/files/app/test-data/html/css-predefined-link-tags.html") AWebView: WebViewExt._onLoadFinished("file:///data/data/org.nativescript.demovue/files/app/test-data/html/css-predefined-link-tags.html", net::ERR_FILE_NOT_FOUND(-1) true) - > Injecting webview-bridge JS code WebViewExt.loadFinishedEvent: file:///data/data/org.nativescript.demovue/files/app/test-data/html/css-predefined-link-tags.html AWebView: WebViewClientClass.onReceivedErrorAPI23(-1, net::ERR_FILE_NOT_FOUND, file:///data/data/org.nativescript.demovue/files/app/test-data/html/css-predefined-link-tags.html) AWebView: WebViewExt._onLoadFinished("file:///data/data/org.nativescript.demovue/files/app/test-data/html/css-predefined-link-tags.html", net::ERR_FILE_NOT_FOUND(-1) true) - > Injecting webview-bridge JS code WebViewExt.loadFinishedEvent: file:///data/data/org.nativescript.demovue/files/app/test-data/html/css-predefined-link-tags.html AWebView: WebViewClientClass.onPageFinished("com.nativescript.webviewinterface.WebView{b02b3a VFEDHVC.. ........ 0,165-1080,1700}", file:///data/data/org.nativescript.demovue/files/app/test-data/html/css-predefined-link-tags.html") AWebView: WebViewExt._onLoadFinished("file:///data/data/org.nativescript.demovue/files/app/test-data/html/css-predefined-link-tags.html", undefined true) - > Injecting webview-bridge JS code AWebView: WebViewExt._onLoadFinished("file:///data/data/org.nativescript.demovue/files/app/test-data/html/css-predefined-link-tags.html", undefined) - > Injecting webview-bridge JS code WebViewExt.loadFinishedEvent: file:///data/data/org.nativescript.demovue/files/app/test-data/html/css-predefined-link-tags.html
Hi @farfromrefug, have you been able to see what's wrong with the Vue demo in my case?
@sebj54 really sorry i forgot about this!
No worries I have a patch in my project for this 😁 Thanks!
Here is the PR for #15
I ran the Vue demo, the webview is showing but unfortunately it shows a
ERR_FILE_NOT_FOUND
error.Here is the console log: