I am creating a React Native app with some sensitive data that cannot be processed by any server or with any DB in the cloud.
But I still want the app user to be able to save and retrieve the whole app data that is actually stored in the local storage to avoid loosing all the data if the user cannot access the device or uninstall the app.
Exporting all data seems simple, as I can generate a JSON file from the local storage and send it by email or store it on the device.
On the other hand, retrieving the data seems more complicated.
How can I import the JSON data that was previously saved to user device ?