# BLE "Listen For Disconnection" Error

**URL:** <https://community.thunkable.com/t/ble-listen-for-disconnection-error/2050845>\
**Category:** Issues / Bugs\
**Created:** [September 20, 2022, 7:00pm UTC](https://community.thunkable.com/t/ble-listen-for-disconnection-error/2050845 "2022-09-20T19:00:08Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![josh.pilot538](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/josh.pilot538/32/139677_2.png) [@josh.pilot538](https://community.thunkable.com/u/josh.pilot538)\
**Post date:** [September 20, 2022, 7:00pm UTC](https://community.thunkable.com/t/ble-listen-for-disconnection-error/2050845/1 "2022-09-20T19:00:08Z")

</div>

I have searched around for some documentation on the “Listen For Disconnection” block on thunkable and have not found any. I’m not sure if it’s a new feature to “BLE” or not, but I am getting an error stating “this.manager.onDisconnected is not a function. (In’this.manager.onDisconnected(t)',‘this.manager.onDisconnected’ is undefined).”

Any help on this would be great. I’m trying to use this feature so my phone will automatically try to reconnect to the Bluetooth device when it has sensed a disconnection.

---

<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:** [September 20, 2022, 9:37pm UTC](https://community.thunkable.com/t/ble-listen-for-disconnection-error/2050845/2 "2022-09-20T21:37:55Z")

</div>

Hi Josh,  
Could you please share your blocks for this error?  
Thank you

---

<div class="post-metadata">

**Author:** ![josh.pilot538](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/josh.pilot538/32/139677_2.png) [@josh.pilot538](https://community.thunkable.com/u/josh.pilot538)\
**Post date:** [September 20, 2022, 10:23pm UTC](https://community.thunkable.com/t/ble-listen-for-disconnection-error/2050845/3 "2022-09-20T22:23:37Z")

</div>

![blocks 1](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/f/bf45099fb7fff04f957000510db5d36541516b29.png)  
 ![blocks 2](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/7/0714f2e1b18a28dc73280383e5a507ce4783066e.png)

---

<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:** [September 20, 2022, 11:28pm UTC](https://community.thunkable.com/t/ble-listen-for-disconnection-error/2050845/4 "2022-09-20T23:28:13Z")

</div>

I will share this with the team, and we will take a look at this as soon as possible.  
Thank you for reporting this!

---

<div class="post-metadata">

**Author:** ![josh.pilot538](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/josh.pilot538/32/139677_2.png) [@josh.pilot538](https://community.thunkable.com/u/josh.pilot538)\
**Post date:** [October 20, 2022, 4:52pm UTC](https://community.thunkable.com/t/ble-listen-for-disconnection-error/2050845/5 "2022-10-20T16:52:20Z")

</div>

Is there any update for a fix on this block?

---

<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:** [October 21, 2022, 5:37pm UTC](https://community.thunkable.com/t/ble-listen-for-disconnection-error/2050845/6 "2022-10-21T17:37:09Z")

</div>

Hi Josh,  
Sorry for the delayed reply. A release was put out a recently that should have fixed this issue. Let me know if it still doesn’t work. Feel free to @ me if it looks like I haven’t seen or replied.  
Thanks

---

<div class="post-metadata">

**Author:** ![josh.pilot538](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/josh.pilot538/32/139677_2.png) [@josh.pilot538](https://community.thunkable.com/u/josh.pilot538)\
**Post date:** [October 28, 2022, 9:49pm UTC](https://community.thunkable.com/t/ble-listen-for-disconnection-error/2050845/7 "2022-10-28T21:49:16Z")

</div>

@brianl Thanks for the update, I just got back from vacation. I still can’t test because of the app crashes. But hopefully that block is working.

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 1:12pm UTC](https://community.thunkable.com/t/ble-listen-for-disconnection-error/2050845/8 "2024-11-08T13:12:49Z")

</div>


