BLE Disconnect with Active Subscription Causes App to Crash

I see that there are no changes noted for BLE handling recently implemented, but very recently my app has stopped functioning and gets constant crashes when disconnecting BLE with active character change subscription. I have verified that it is indeed the subscription by disabling that solely and it begins to work correctly. Was anything changed in the BLE teardown that could cause this? I can send more details if needed as well. This is causing serious issues and redesigns for active products I am selling.

Hi @wemake3d , welcome to the Thunkable community! :tada:

Could you please share more information?

Does it crash on Android, iOS, or both?

Do you mean that you are using the subscribe to characteristics block?

If you delete the Characteristics Change block, does it stop crashing?

Could you please share the specific project URL with us so we can investigate it further?

You could copy it from the top of your browser.

This way we could find the best solution for you.

Yep, of course. So i have only tested it on Android at this point i am getting my iPhone ready to test as well. So as of now it is only on Android that i can confirm it is crashing. Yes i mean that i am using the subscribe to characteristic block. No, deleting the “Characteristic Change” block still causes a crash. Only getting rid of the Subscribe to Characteristic Block stops the crashing.

Also, I have a older version of this app 1.0.6 export (Dec 2) that i compiled (downloaded) and have installed on my phone that works fine, but the version that i have saved on thunkable (exact same) now crashes and if i download that now it crashes. Its as if something has changed in the compiler in the past two weeks that is causing this crash.

If you need screen shots (of the app or of the crash page) or anything else from me, just let me know.

@wemake3d, I was reading your words and I saw everything that is happening to me with the BLE connect your device blocking which does not return the error when it cannot find the device and causes the app to crash. I also have an older APK version downloaded a while ago as a test that works perfectly. I tried everything with no result. I hope the problem is solved because I don’t know what else to do!