You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • So the Bangle is getting the relevant notification sent to it, and you want to be able to grab the data out of it?

    If so, absolutely! The ios app sends the message event to the messages library at https://github.com/espruino/BangleApps/blob/master/apps/ios/boot.js#L165 but the messages library sends a message event, so if you had an app with that did:

    Bangle.on("message", function(type, msg) {
      if (msg.src.toLowerCase().includes("weather")) {
        ....do stuff here
        msg.handled = true; // stop us loading the messages app or buzzing
      }
    });
    

    That should work great for you

About

Avatar for Gordon @Gordon started