• Hi, that's great! I think you're spot on with what assistedgps does.

    All you need to do is have type:"RAM" in the apps.json file, and then when you call sendCustomizedApp in your custom.html instead of doing:

      sendCustomizedApp({
                storage:[
                  {name:"RAM", content:js},
                ]
              });
    

    which is what assistedgps does, you can call:

      sendCustomizedApp({
                storage:[
                  {name:"grocery.app.js", url:"app.js", content:app}
                ]
              });
    

    It seems to be pretty much what you're doing already, so I think the trick is the type:"RAM" bit.

    Having said that, the grocery app seems to store all its product data inside the app. It'd actually be better if it was stored as a separate JSON file. It'd be pretty straightforward - for instance see simpletimer - but if you need a hand let me know and I could make those changes.

    Also, I don't know what you have planned, but feel free to add the functionality to the original grocery app itself if you think it'll be useful.

About

Avatar for Gordon @Gordon started