Making Bangle 2 app work on Bangle 1 #7760
-
I only have a Bangle JS 2 so I built my app Umpire Ball Counter on that platform. I could do with some guidance identifying where it needs re-factoring to support the Bangle JS 1 owners, as it doesn't need very complex interaction and I would like to offer it to a wider audience. As per the readme, I use;
Any ideas appreciated! I'll dig into the other sensors that might not be supported. And how to detect the js 1. Finally, I won't be able test on a watch. Will the emulator adequately allow me to test? Note that the emulator doesn't work with my app currently (in Chrome on Android 15 BP1A.250505.005) the virtual button doesn't trigger my code. TIA |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
What you're doing sounds good - it should 'just work' for the scroller/prompt. However one issue is Bangle.js 1 only supports left/right swipes (not up/down) so your code there would have to change (maybe using one of the buttons instead?). Since you're not doing any hardware stuff the emulator should be good for testing, but I don't know why the button wouldn't work - you'd have to be a bit more specific about which exact thing isn't working - and maybe narrow it down to a small bit of code. However has Bangle.js 1 support been requested? While it's nice to support older hardware, Bangle.js 2 started shipping almost 4 years ago now. I'm not sure there are really that many people still using Bangle.js 1 at the moment, so it might not be worth putting too much effort in to support. |
Beta Was this translation helpful? Give feedback.
What you're doing sounds good - it should 'just work' for the scroller/prompt.
However one issue is Bangle.js 1 only supports left/right swipes (not up/down) so your code there would have to change (maybe using one of the buttons instead?).
Since you're not doing any hardware stuff the emulator should be good for testing, but I don't know why the button wouldn't work - you'd have to be a bit more specific about which exact thing isn't working - and maybe narrow it down to a small bit of code.
However has Bangle.js 1 support been requested? While it's nice to support older hardware, Bangle.js 2 started shipping almost 4 years ago now. I'm not sure there are really that many people still us…