I have a local HTML file using Javascript code. I'm using webview for loading the HTML file for my android app. I just display text content in my application. There are no navigations or user logins on my screen.
I 'm using setJavaScriptEnabled(true)
and setWebViewClient
in my Java code to load. I get a warning about XSS vulnerabilities for using setJavaScriptEnabled(true)
.
I'm not calling other .js or .css files either.
I'm not invoking any other websites in my application. Is my Android app secure enough from piracy or should I add additional code or steps to protect my application code from hackers? Please suggest.