shockbytes / DanteX

Dante - Book Tracker Cross Platform Implementation
Apache License 2.0
29 stars 1 forks source link

Migration of realm data from old app to new app. #55

Open shockbytes opened 1 year ago

shockbytes commented 1 year ago

IMPORTANT: Need to write custom Android Code to get Realm data to Dart, since Realm is not supporting Web. This means that the project can't be compiled, due to this shortcoming.

lockieRichter commented 7 months ago

I was thinking about this a bit the last few days @shockbytes, and one possible plan of attack is that for the first release of DanteX we don't use a web implementation.

Then once the first release is done we wait until either a. Everyone has updated to the new version of the app, or b. The realm SDK has a web compattible version.

Once one of these two criteria has been passed we can then roll out the web version of DanteX.

It feels likely that criteria a) is more possible, but you could even put out an update in the old app when we go to update to the new app saying if you want your data to be automatically transferred you need to update to the new app by a certain date.

I suppose the other option is to write an update for the old app that will back the users data up to pure JSON or something that we can read without a special plugin?

What are your thoughts?