I'd like to migrate my app from using local SQLite to Parse.
I'm guessing that the best way to get started would be to build a migration mechanism that transfers current user data from the SQLite database to Parse. Are there any in built mechanisms for doing this?
Something else I'm not sure about: Because we'd like the app to function for users who choose to create an account and for users who choose not to (and also while no network connection) does it make sense to (a) enable local data store and (b) make all saving calls to saveEventually? From what I can tell reading the docs, saveEventually will save (pin) the data to the local data store until saving to the server is possible.
Another question is: if a user starts off using the app offline (chooses not to make an account) but later decides to signUp is it possible to then associate all previous data created while operating offline with their new account? For example, say Joe downloads the app and chooses not to signUp, and uses the app offline for 6 months. Then Joe realizes he needs to get a new device so he decides to signUp to preserve his data. When he signs up will the data he created over that 6 month period now be associated with his new account?
Any feedback would be much appreciated.
Aucun commentaire:
Enregistrer un commentaire