• On the one hand, in my fork (still wip) I already changed the library to do Bangle.emit("message", type, event);, so it would be relatively easy to just split it up and do

    Bangle.on("message", (type, msg)=>{
          if (type !== 'text') return;
          // handle text messages here
    });
    

    One problem with splitting it up is that instead of just installing a messaging app, users would need to install 5 apps (also for alarms) to get all notifications (6 if you also count the android library). I think that would get rather messy even before you get multiple alternatives for each.

    On the other hand, I think it would indeed clean things up a fair bit to properly split the code, although switching between e.g. playing music and incoming messages might become less smooth.

About

Avatar for rigrig @rigrig started