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
Users can enable auto-sync and choose how often observations should sync while the app is open. Auto-sync runs silently without showing manual sync notifications.
Type of Change
Bug fix
New feature / enhancement
Refactor / cleanup
Documentation
Chore / other
Component(s) Changed
formulus (React Native mobile app)
Testing
Added/updated tests
Manually tested
Not applicable
57 relevant tests passed.
Checklist
Pre-flight checks for changed packages passed (lint / format / tests)
Hi @allennakalema06-web
Thank you for the change. Considering that it is a major change, we are holding on to have it in the next release.
Please feel free to request for another issue at the moment
Thanks for the implementation @allennakalema06-web . The existing focused tests pass, but please address these before we merge:
Refresh this.appState from AppState.currentState inside start(). Otherwise, a foreground event missed while the listener is removed can leave auto-sync inactive after restart. Please add a regression test for that sequence.
Handle settings-read failures in scheduleNext(). A rejected storage read currently becomes an unhandled rejection and leaves no scheduled retry. Please add coverage for recovery from a transient read failure.
Add the 11 new auto-sync strings to sw.json. Their absence is currently failing the locale test in CI.
Please rerun the focused suites and full Formulus checks afterward. Thank you
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What & Why
Adds automatic sync to Formulus.
Users can enable auto-sync and choose how often observations should sync while the app is open. Auto-sync runs silently without showing manual sync notifications.
Type of Change
Component(s) Changed
Testing
57 relevant tests passed.
Checklist
Closes #123