include external javascript

Hey guys, I've been looking everywhere but I can't find a solution for this. I have a simple android webview app that I want to link in local javascript. There is a style.css file in the Assets folder and that works just fine. But no matter what I do, I can't get the javascript to link from that same location. So if I have test.js in the Assets folder with the exact same build properties as the style.css file (Android Asset) and the javascript functionality is not available. However when I take the javascript code from that file and paste it inline in the .cshtml page it works just fine. I've made sure to enable javascript on the webview and to set AllowFileAccessFromFileURLs = true. Can anyone help?

Sign In or Register to comment.