-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Data persistence in iOS Cordova App after App termination #191
Comments
Hi ya, this is an interesting issue. I am aware that iOS can clear the indexedDB data if it considers the device is running low on space. I am assuming from your description that you are using the persistence plugin and doing save() and load() when required. A user on here found that he could use a cordova plugin to LocalForage that stored data in app storage instead of indexeddb and that solved the issue. I cannot remember the localforage plugin name but a google for it should bring it up. Can you let me know if that helps at all? Cheers, Rob |
Thank you - will follow-up on the localForage side and let you know. |
Hey, how did it go? Did you manage to get the storage to stay put? |
Sorry for the delay. No, not yet - though the author of localForge suggested he thought his library should fix the issue. For now the issue with my application is not being prioritized. I will follow-up if we do try localForge in the future. |
Kudos to the Forerunner dev team. Great product.
I have a similar but more specialized use-case to the following older issue:
#120
My use case is as follows:
Can anyone suggest a solution that that allows data persistence even after the app is terminated?
The text was updated successfully, but these errors were encountered: