Open aemkai opened 1 month ago
At a guess, the showPrompt might be being interfered with by the setTimeout
juggling that the GB music code is doing - if you have the IDE connected while reproducing the bug, do you see any output in the console?
I'm actually short of time, I will try to test this on Thursday.
Okay, seems that I'm to stupid to connect my Bangle in web-IDE, while it is connected with Gadgetbridge, even if I use the same device. Is this even possible? And is there a way to control GB music and Messages from IDE/console?
Ah no, you're right - you can't connect more than one thing to the Bangle at once, this will be more gnarly to debug. @gfwilliams before I dive into somehow catching errors and saving to flash, do you have any techniques you've used for this already?
I think this should work: https://www.espruino.com/Gadgetbridge#remote-debugging
At least when running the Web IDE on another device. But I think it should work on the same device you run 'Bangle.js Gadgetbridge' on as well. Just make sure you're using a Chromium based browser.
Yes, as @thyttan says - I added it for exactly this eventuality :)
Affected hardware version
Bangle 2
Your firmware version
2v24
The bug
With active (loaded) music control app, a notification alarm doesn't stop after the configured timeout, instead the pattern is repeated until the music app is closed by pressing hw-button two seconds. Short Pressing the button only changes play/pause state
MessagesUI is configured as follows:
Installed apps
Message UI (v0.80) Message Widget (v0.06) Messages (v0.62) Message Icons (v0.08) Gadgetbridge Music Controls (v0.13)
About Lock Widget Battery Level Widget Welcome Notifications (default) Health Tracking Scheduler Alarms Widget Alarm & Timers Android Integration Setting Bootloader Sliding Clock Clock Info Module Binary LED Clock Desktop Launcher 2047pp Languages
some custom clock apps in development