I have an app that uses sqlite database and i would like it to be updated automatically each time the user is on line and there is a new version of the database. Can someone tell me how should i do this? P.S. I have google cloud storage. Thanks!

有帮助吗?

解决方案

I had a problem like that, but i resolved it differently.
It may not be the best way to do things, but it certainly helped me...

Try using dropbox to store your modified database and when the application has internet connection and when the user wants the update, just download that database and replace with the existing one.

Worked for me.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top