jakub-tucek / fit-checker

Fit-checker 2.0 for CTU FIT
MIT License
1 stars 0 forks source link

Add local notifications for classification changes #21

Open josefdolezal opened 7 years ago

josefdolezal commented 7 years ago

App should notify user when downloaded downloaded data are different from these which are stored locally.

When data are downloaded in background, we can use user notification framework. When the app is in foreground, we can add badge on tab bar or mark rows in table view to get user's attention.

josefdolezal commented 7 years ago

I removed first milestone because this issue is a bit challenge. The local notifications can be supported now but only for background refresh (so the app must be running - at least at background) so we would waste a time.

For full support of notifications, we have to use push notifications to wake the app, fetch data and notify user if local data are out of date. Because of restrictions of iOS, push notifications are the only possibility to wake app periodically.