aws-amplify / aws-amplify/amplify-android
[Feature Request] Expose DataStore Orchestrator currentState as an event
- Dominant language
- Java
- Stars
- 287
- Forks
- 132
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 45
Description
Good Evening,
An aim of our app is to provide offline usage while also syncing data between users, it would be great if we could access the Orchestrator's currentState and make the user aware if their device is currently providing real time data updates to other users or not.
While it is currently assumed that any negative DataStore event causes the Orchestrator to fallback to LOCAL_ONLY this is only an assumption.
DataStoreEvent documentation: https://docs.amplify.aws/lib/datastore/datastore-events/q/platform/android/
Contributor guide
Research direction
Start with the DataStoreEvent documentation and trace the DataStore Orchestrator's currentState alongside the negative DataStore events described in the issue. Done means consumers can observe currentState as an event and determine whether the device is providing real-time data updates or has fallen back to LOCAL_ONLY.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- distributed-systems, mobile
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100