aau-giraf / api_client

API client for Flutter to communicate with the web-api
GNU General Public License v3.0
6 stars 0 forks source link

Login/logout while offline #96

Open Brandhoej opened 2 years ago

Brandhoej commented 2 years ago

Description

Make sure that it is possible to login as a user when offline, this means storing credentials while online to make them available when trying to login while offline.

It is possible on synchronization that a transaction fails, find out how that can be handled gracefully.

it is possible, in an example where an user is offlline and creates an activity , and afterwards alters the activity. The user then gains connectivity and synchronization begins, it is then possible for the http request for the activity creation to fail, should we then send the alter request?