Questions on the Object Store

I am working on a program that will make use of the object store to hold some information when the app is started for the first time. If a user was to install the app and have the start up information stored in the object store and then delete the app will the object store be cleared and remain cleared even if the app is reinstalled or will the old start up data be retained?

Because it is a watchface, I can't have a user input to clear the variables.

Thanks,

Paul
  • I don't know whether the state is retained - though I expect so - but usually store the application version number as well in the object store so I can migrate the old state if needed when the application is updated.
    And then I make careful notes on which version numbers I have saved before so I handle all the update scenarios. I takes some time to test, but so be it...

    /Tonny
  • Right now if the user removes an app from their watch, the object store remains. I'm actually working on a change now that will delete the object store when the app is deleted from the watch, as keeping the old store on the watch wasn't the intended behaviour.
  • Former Member
    Former Member over 10 years ago
    Can You write things like 'share public properites'? Settings between app and another app or app and watchface?
    Or based on memcached service to share variables.
  • Each app has its own object store which cannot be shared between multiple apps. We don't currently have plans to change this.
  • Former Member
    Former Member over 10 years ago
    Simple IPC like shared keys etc. open way to creative think.
    Now is good time to change plans ;)