Android webview's can't be set to invisible? (DEF-2663) (SOLVED)

Calling webview.set_visible( webview_id, 0 ) works perfectly fine on iOS, but doesn’t seem to work at all on Android. The webview visible and also blocks touch interaction with Defold game.

1 Like

Hmm, that sounds strange. I don’t see anything obvious when looking at the code, but I’ll take a look at it tomorrow!

1 Like

I’ve looked into it and I could reproduce it as well.
However, I don’t have an eta on when this will be fixed.
Only workaround I have for you is the webview.destroy() function, if that is at all possible to use for you in your case.

3 Likes

Thanks for looking into it; I’ll see if I can refactor to use webview.destroy() instead.

2 Likes

Released in 1.2.146

1 Like