I have three informative screens like Facebook blogs in my application. Application works Online and Offline. User can see the data offline.the data is Cached in Database.
When data is added/updated/deleted to server from active users.
The problem is, I want to update all other active application users with new data without affecting their works and in short time. In short, want to update it in background. How I can achieve this?
I have tried below solutions but had some issues:
1. After registration fetching all data from server and store in Database for Offline use.
Problem with this solution: Always showing progress bar for caching data impact bad user experience. user will get irritated.
2. Implemented background processing GCM push notification.(Means without displaying push notification to user process it in background)
Problem with this solution: If user blocks notification then the application never get synchronized with new data added/updated/deleted on server.