Sunday, December 15, 2024
HomeiOS Developmentjava - Answer for native backup compatibility between Android and IOS app?

java – Answer for native backup compatibility between Android and IOS app?


I am engaged on a Whatsapp-like chat utility. Customers obtain messages from a websocket after which the app saves it in a neighborhood database. I am creating natively on each the Android and the IOS variations, so 2 separate codebases.

On Android, it makes use of Room’s native SQLite database and backs up its .db file.

On IOS, it makes use of MongoDB and backs up its .realm file.

These are two totally different recordsdata and there might even be discrepancies in column names.

What are the very best choices to verify of cross-compatibility between the 2 model so {that a} person can backup from the IOS model and subsequently restore it in an Android model.

Others have beneficial placing it in a agreed upon JSON format or perhaps a new file sort. However I wished to know what individuals have tried professionaly.

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments