So I have a folder in app/Resources/web and in there, I want to load index.html.
So, My code in my app.js is var appwebview = Titanium.UI.WebView({
url:'Resources/web/streaming.html'
});
win1.add(appwebview);
When the app loads, I get an error that says Uncaught Type Error - cannot read property 'replace' of undifined at index.html (line 8592)
I only have like 20 lines of stuff in my index.html so IDK why titanium is pulling this out of their butt... Anyways, ideas? Thanks