• What you're suggesting there sounds fine. The library error is because the IDE isn't aware it needs to load the Bangle.js-specific libs - there's some info at https://github.com/espruino/BangleApps/b­lob/master/modules/README.md - it's easy enough to add them to the search path.

    Or... you can have your own forked app loader, save the files in there, and then if you upload from the app loader it should work fine.

    However I don't think Bangle.buzz() is needed here. When WIDGETS.messages.update is called (which will show the icons on the screen) that should buzz all on its own, and if you leave it to buzz itself, the type of buzz is configurable (and different for calls) so I think that's preferable.

About

Avatar for Gordon @Gordon started