What is the best way to store local data in the meteor mobile app?
4 answers
I think you have a bug somewhere, local storage needs to be persistent. Check out this stack of question .
The session doesn't have to be permanent, it's just a terrible and confusing name. There's a package to make it permanent.
You can use Web Storage , it is well supported on decent browsers. Chrome has a decent article on this.
+1
source to share
Currently, there are not many storage settings in Meteor . The best tool so far is probably GroundDB
0
source to share
Why not use a collection to store this information and use that collection via the GroundDb meteor package? it will store everything in localStorage and will use it when the app is disconnected. It can also resynchronize data from the collection when the connection returns.
Here is the link: GroundDb on atmosphere
0
source to share