Meteor-Community-Packages / Meteor-Community-Packages/ground-db
Persist data on Cordova
- Dominant language
- JavaScript
- Stars
- 569
- Forks
- 77
- PR merge metrics
- No merged PRs in 30d
Description
I've been working with this package for a while and successfully set a example when I was able to persist the data offline when in the web browser. However, I'm finding a hard time to replicate this behavior in mobile - which was my primary goal since the beginning.
Currently I am able to retrieve all information up-to-date when offline, i.e., make change online, go offline and see everything as it should be when online. If changes are made and a connection is detected, the app syncs and everything works fine.
The problem is when I am working offline, the app is **closed** and reopened later. All changes are lost in this scenario.
Anyone had any luck with this situation? I'm definitely needing to surpass this. How can I assure some change was saved in local database and retrieve it later?
Thanks!
Contributor guide
Research direction
No files, tests, or entry points are named. Reproduce the Cordova workflow by making changes offline, closing the app, and reopening it; done means those changes persist in the local database and can be retrieved later.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- database, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100