# Webview/webbridge receive message event not firing

**URL:** <https://community.thunkable.com/t/webview-webbridge-receive-message-event-not-firing/3528941>\
**Category:** Issues / Bugs\
**Created:** [February 1, 2025, 9:35am UTC](https://community.thunkable.com/t/webview-webbridge-receive-message-event-not-firing/3528941 "2025-02-01T09:35:27Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![sketch](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/sketch/32/109058_2.png) [@sketch](https://community.thunkable.com/u/sketch)\
**Post date:** [February 1, 2025, 9:35am UTC](https://community.thunkable.com/t/webview-webbridge-receive-message-event-not-firing/3528941/1 "2025-02-01T09:35:27Z")

</div>

Hey everyone 👋

So last week i published my battery info module and it was all working correctly until thunkable V488/489 was released.  
Somehow after this update passed the WebBridge received message event has stopped working as stated [here](https://community.thunkable.com/t/looking-for-module-beta-testers/3242553/9).  
The weird thing is this is only for this specific module and after debugging all i could find out was that it’s related to thunkable because the code works correctly.  
The “getBatteryLevel” correctly sends the message and the code logged the correct result 95% in the console/alert.  
But thunkable is not able to receive the message, the event never fires.

I compared an apk after the V488/489 release with the one before the v488/489 release and the apk from v488/489 does not work

This only happens on android and nowhere else.

Has anyone got an idea on how i can fix this?

module: [Thunkable](https://x.thunkable.com/module/677d0b77e93f07eb86033d36/)  
project: [Thunkable](https://x.thunkable.com/copy/6e267b811f570531220b494bd8153e96)

Edit: I just figured out what the issue was with the latest Thunkable update it seems that The receive message event breaks when to many request get made at the same time.  
I managed to create a temporary solution thanks to this.

@pettengilld32a1wqr (pinged you so you can keep track of the progress)

---

<div class="post-metadata">

**Author:** ![brianl](https://avatars.discourse-cdn.com/v4/letter/b/f14d63/32.png) [@brianl](https://community.thunkable.com/u/brianl)\
**Post date:** [February 3, 2025, 7:29pm UTC](https://community.thunkable.com/t/webview-webbridge-receive-message-event-not-firing/3528941/2 "2025-02-03T19:29:06Z")

</div>

Do you know how many requests were sent?

---

<div class="post-metadata">

**Author:** ![sketch](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/sketch/32/109058_2.png) [@sketch](https://community.thunkable.com/u/sketch)\
**Post date:** [February 3, 2025, 7:41pm UTC](https://community.thunkable.com/t/webview-webbridge-receive-message-event-not-firing/3528941/3 "2025-02-03T19:41:18Z")

</div>

Hii @brianl I sadly “exactly” know it, in total 4 post message requests with .3 seconds between each where made, but even when using 1 request it wouldnt work.

Somehow I pushed a fix with a workaround and now it works but I’m still confused because that is 1 request too.  
I have no idea why the newer version works and the older not even with only 1 request on the older version.

---

<div class="post-metadata">

**Author:** ![brianl](https://avatars.discourse-cdn.com/v4/letter/b/f14d63/32.png) [@brianl](https://community.thunkable.com/u/brianl)\
**Post date:** [February 3, 2025, 9:08pm UTC](https://community.thunkable.com/t/webview-webbridge-receive-message-event-not-firing/3528941/4 "2025-02-03T21:08:24Z")

</div>

@sketch Do you have the old version still or something I can use to make a simple version to replicate this?

And just so I got it right, each of the 4 post within .3 seconds, do each of them have a return? Or is it that after the 4 post, you are expecting 1 return?

---

<div class="post-metadata">

**Author:** ![sketch](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/sketch/32/109058_2.png) [@sketch](https://community.thunkable.com/u/sketch)\
**Post date:** [February 3, 2025, 9:21pm UTC](https://community.thunkable.com/t/webview-webbridge-receive-message-event-not-firing/3528941/5 "2025-02-03T21:21:58Z")

</div>

> [@brianl](#):
>
> Do you have the old version still or something I can use to make a simple version to replicate this?

Not really, I mean I need to see some of the history and code changes before I can get one to you but it may take some time, I got a busy week ahead 🥲

> [@brianl](#):
>
> just so I got it right, each of the 4 post within .3 seconds, do each of them have a return?

Yes that should each have their own return value

---

<div class="post-metadata">

**Author:** ![sketch](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/sketch/32/109058_2.png) [@sketch](https://community.thunkable.com/u/sketch)\
**Post date:** [February 13, 2025, 8:31pm UTC](https://community.thunkable.com/t/webview-webbridge-receive-message-event-not-firing/3528941/6 "2025-02-13T20:31:05Z")

</div>

Hello @brianl my apologies for the late reply.  
However I was working on the module to show it to you and I noticed that it suddenly works again.  
I don’t know what happened but it suddenly started working again even on older recreations of the module.  
I don’t know why but it works again using the same original code.
