You are reading a single comment by @Alessandro and its replies. Click here to read the full conversation.
  • What about emitting an "alarm" event? An app could add an handler for it like

    Bangle.on("alarm", (important) => {
       // save state?
    
       var ret = ?
    
      // ret = 1: exit app and show the alarm
      // ret = 2: remain in the app and show a blinking icon in widget bar 
      // ret = 0: ignore the alarm
    
       return ret; 
    });
    
    Bangle.on("afterAlarm", () => restore..)
    

    Could be an idea?

About

Avatar for Alessandro @Alessandro started