问题
I'm trying to backup the realm database in the app to a cloud storage solution like Dropbox.
I'm currently using the react-native-fs to read the file in base64 and then upload it. All that works fine but when I try to restore it back the file seems corrupted (encryption message, even though it is not encrypted) which leads me to presume I'm doing something wrong.
Is there any specific best practices to back the realm database in react-native?
Cheers
来源:https://stackoverflow.com/questions/38914660/backing-up-a-realm-db-in-react-native