The thing is the back button goes into the Widget bar, so if your app doesn't have widgets (or isn't expecting them) then that can cause a problem.
... but the pictures you show are using E.showScroller and E.showMenu and both of those should really work fine.
If you go to the emulator https://www.espruino.com/ide/ then top-left, Emulator, Bangle.js 1, then type Bangle.factoryReset() into the left-hand side of the IDE you can see the menus and the back button work great - so I wonder if the issue is that something is out of date
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.
Hi - is your Bangle.js firmware and JS apps all up to date?
The back button is handled in the Bangle.js firmware itself, in
Bangle.setUI
: https://github.com/espruino/Espruino/blob/master/libs/js/banglejs/Bangle_setUI_F18.js#L85-L101The thing is the back button goes into the Widget bar, so if your app doesn't have widgets (or isn't expecting them) then that can cause a problem.
... but the pictures you show are using
E.showScroller
andE.showMenu
and both of those should really work fine.If you go to the emulator https://www.espruino.com/ide/ then top-left, Emulator, Bangle.js 1, then type
Bangle.factoryReset()
into the left-hand side of the IDE you can see the menus and the back button work great - so I wonder if the issue is that something is out of date