You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Question
I am relatively new to Dart and Flutter. Pls forgive me if this has been answered before. I did look through the docs and issue list to find potential ways my requirement could be solved but I could not find it. What I need is similar to #7
I have a long list of transaction data (just texts) stored using Hive on Flutter Web using IndexedDB inside a Progressive Web App running on iOS Safari.
My primary reading writing location is the IndexedDB Hive on the device Safari and at the end of the day, I would like to offer a button for user to tap which would export all the Hive data into a file and the file will be put inside a google drive. It is one way and there is no requirement for any other app to access the google drive file. In certain situations I have seen developers put an SQLite dB file on google drive/ Dropbox etc.
I would also need to be able to consume/ import back the file from google drive if the user changes to a new device etc.
Question
May I check if there are already APIs available that I can use to instruct Hive to export all its data to a single file and APIs to consume back that single file to populate the data let's say on a new device? Failing that, do I have to go through each data entry and prepare JSON myself every time user taps on the backup button and also write the code to read the json back and populate the data back into hive?
Thanking everyone in advance for the advice!
Platform: iOS, Mac, Web
The text was updated successfully, but these errors were encountered:
Since hive uses different backends for web and mobile we do not offer in house solution for backup/restore. But you can export fields to a file (eg: json) file and then parse on mobile device and put it to hivedb. If you need more assistance let me know.
Question
I am relatively new to Dart and Flutter. Pls forgive me if this has been answered before. I did look through the docs and issue list to find potential ways my requirement could be solved but I could not find it. What I need is similar to #7
I have a long list of transaction data (just texts) stored using Hive on Flutter Web using IndexedDB inside a Progressive Web App running on iOS Safari.
My primary reading writing location is the IndexedDB Hive on the device Safari and at the end of the day, I would like to offer a button for user to tap which would export all the Hive data into a file and the file will be put inside a google drive. It is one way and there is no requirement for any other app to access the google drive file. In certain situations I have seen developers put an SQLite dB file on google drive/ Dropbox etc.
I would also need to be able to consume/ import back the file from google drive if the user changes to a new device etc.
Question
Thanking everyone in advance for the advice!
The text was updated successfully, but these errors were encountered: