You are reading a single comment by @rigrig and its replies. Click here to read the full conversation.
  • I like the idea of just keeping the default messages app/widget with the library and deferring to custom apps if installed.

    Maybe we could even do something like this:

    // in message library:
    Bangle.emit("message", event);
    setTimeout(()=>{if (!event.handled) load("");});
    // some music widget
    Bangle.on("message", event=> {
            if (event.handled || != 'music') return;
            event.handled = true;
            /* display music info */
    // custom messages boot.js
    Bangle.on("message", event => {
            if (event.handled) return;
            event.handled = true; // probably not even needed?

Avatar for rigrig @rigrig started