Remove apps without the app loader?

Posted on
  • Am I safe removing e.g. the health app programmatically?

    code snippet:
    var files = require("Storage").list();
    files.forEach(function(element){
    if(element.startsWith("health") ) require("Storage").erase(element);
    });

    The reason I ask is I'm managing ~50 Bangles and I'd like to do this with Node instead of running the app loader on all of them. This is on Bangle.js2 if it makes a difference.

    Thanks in advance!
    Dan Fox

  • Hi! Yes, that should be absolutely fine to do. For other apps it might be different, but looking at metadata.json for the health app it's all files starting with health that you need to get rid of.

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

Remove apps without the app loader?

Posted by Avatar for DFox @DFox

Actions