What Gadgetbridge version do you use? What android version are you on? Have you given Gadgetbridge all the permissions it asks for? Have you cheched the box for 'Allow Intents' in Bangle.js specific settings in Gadgetbridge?
Does the log say "Sending intent:" or "Executing intent:" somewhere?
If you are on a newer nightly release of Gadgetbridge there are small changes to how things are handled. Mainly, the category keyword is changed to categories and now takes a list of strings instead of just a string and the user can set any flags they want. See more here and here.
Looking at your test code I think your first attempt looks alright, I would test it myself but my bangle is acting up at the moment. The other two will not work per design. With both reddit2 and reddit3 Gadgetbridge will default to broadcasting while what you need is to start an activity with target:"activity". On reddit2 the action can't be the short representation,"ACTION_VIEW", used - I believe.
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!
What Gadgetbridge version do you use? What android version are you on? Have you given Gadgetbridge all the permissions it asks for? Have you cheched the box for 'Allow Intents' in Bangle.js specific settings in Gadgetbridge?
Does the log say "Sending intent:" or "Executing intent:" somewhere?
If you are on a newer nightly release of Gadgetbridge there are small changes to how things are handled. Mainly, the
category
keyword is changed tocategories
and now takes a list of strings instead of just a string and the user can set any flags they want. See more here and here.Looking at your test code I think your first attempt looks alright, I would test it myself but my bangle is acting up at the moment. The other two will not work per design. With both
reddit2
andreddit3
Gadgetbridge will default to broadcasting while what you need is to start an activity withtarget:"activity"
. Onreddit2
the action can't be the short representation,"ACTION_VIEW"
, used - I believe.