Frage

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!

War es hilfreich?

Lösung

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.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top