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


#1

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.


#2

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


#3

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.


#4

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


#5

Released in 1.2.146