Page MenuHomeGitPull.it

Run database update separately from the main activity
Closed, ResolvedPublic

Description

Currently, the database gets updated when the app is launched, in a secondary thread, which is both non functional (when a user opens the app, he/she has to wait for it to finish the update) and prone to problems (threads gets killed by Android: when does it happen?). We are never sure an update goes well or not.

The service should be moved to be run externally, with a notification for the user. It can also be automatically scheduled by Android!!

Event Timeline

fabio.mazza triaged this task as High priority.
fabio.mazza lowered the priority of this task from High to Normal.
fabio.mazza created this object in space S1 Public.

This is mostly done, we just need to clean up the code and choose a proper icon for the notification.

This is done. The app update now works. Where are the testers?