Maybe you can find some related issue over at the gadgetbridge repo. I think I remember reading a conversation on some issue regarding syncing data when reconnecting to the app.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Somewhat related: https://forum.espruino.com/conversations/381011/#comment16742671
Maybe you can find some related issue over at the gadgetbridge repo. I think I remember reading a conversation on some issue regarding syncing data when reconnecting to the app.