App crashes when trying to load html

I have been working on an app, wherein I have a webview and I have to load data in their from html code. The code has to come my database and therefore I cannot use a file with html code in it. When I try to do it, my application crashes. I removed everything up (database) and tried loading a simple static html code but the problem still remains. Here’s the code:
Capture2
I even went through the docs, but didn’t help
Capture1
Please help me fix this issue. Remember I cannot use a ready made html file (fileName.html) as my html code is not static but dynamic (html code is coming from database)

Try custom webview extension

1 Like

Thank you very much

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.