when you set visible = false (properties or block code) of webviewer… it’s crashing the app only on Android, iOS is working fine. It happens both Thunkable Live and downloaded.
position:absolute not working either
absolute size set to 0, also not working
if no url, it works
my workaround: set absolute height to 0.1 and change background-color of my html to fit app’s color https://x.thunkable.com/copy/150f6b7ffa06cb047bd6b64b06405afd
In fact it’s not working.
Sometimes the screen crashes, sometimes it doesn’t.
I tested an old APK and everything is normal.
Probably some component updated is causing this.
Is anyone having this issue?
A curious thing that I discover now… it works fine IF the webviewer is in first screen of app. But it doesn’t solve my problem!!
The url is an html with several javascript functions that I need.
With this I work with PostMessage and ReceivesMessage of Webviewer.
Learned this from @actech examples
You say that your project works when you test an old APK. When did you most recently download an APK that does allow you to execute your javascript from a hidden Web Viewer?
I know about it @muneer, I’m using it like this… but it’s not the ideal.
It appears like a dot in the screen, when you have background color set, other than white.
I’m having this issue too but in a different way, because I’m not hiding the wbv itself but a column where it is in after changing its url.
The problem:
The code:
The workaround is to set height and width of the column to zero.
I’m saying the same case that you are facing has already been reported previously by at least two other members so Thunkable developers should be aware of it.