Preserve a different ID when you do a hot code push?


#1

Hi there,

I want to create several cordova apps with the same code base, but each one needs to store a different ID because it has a different configuration (stored in the mongodb).

I need a safe place to store each ID so it doesn’t get overwritten when I update the apps via hot code push.

Is there an easy way to preserve an ID in a file or a variable which doesn’t get overwritten?


#2

I’m also interested on this. Anyone has info?