AppConnectedEvents - Disconnect not working

Hello,
I am running the example of AppConnectedEvents on a standalone ESP8266 (wemos d1) and I have the option enabled in the app.
AppConnectedEvents.ino

The BLYNK_APP_CONNECTED seems to work when I open the app (although not with play/stop buttons, but I understand this is by design)

However the BLYNK_APP_DISCONNECTED is never called, I checked my phone settings and there seem to be nothing special for the blynk app permissions.

What could be wrong?

Thank you.

Hello. When you close your app it doesn’t actually mean that app closes connection, it may be running for a while in the background. This is how all Android applications work. So there may be the delay. However, force close of the application should close connection for sure.

1 Like