aws-amplify / aws-amplify/amplify-android
How to observe Datastore Model Realtime on background or after killing application
- Dominant language
- Java
- Stars
- 287
- Forks
- 132
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 45
Description
Hey guyz!! I want to observe my model if the application is in background or if user killed the application from recent apps.
In that case please let me know the best approach for listening to datastore events.
I Tried some ways but due to background restrictions in android none of the method is working correctly..
Any solution??
`Amplify.Datastore.observe(Messages::java.class, {},{},{},{})`
Contributor guide
Research direction
The issue names Amplify.Datastore.observe(Messages::java.class, {},{},{},{}) as the attempted entry point. Start by examining Android background and process-kill restrictions alongside Datastore observe behavior; done would require a confirmed supported approach or a clear statement that the requested realtime observation is not supported.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- database, mobile
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100