cybre-finn / next-companion

Rogue client for nextbike
GNU General Public License v3.0
23 stars 8 forks source link

Get new login key on every start #3

Open cybre-finn opened 5 years ago

cybre-finn commented 5 years ago

Currently, log in activity is only triggered when there is no log in key present. Instead of the log in key, username and password should be saved and be used to get a new login key in the background on create of MainActivity.

cybre-finn commented 5 years ago

We should first solve proper error handling (#13) because we could than simply not generate the login key in the login activity but in the MainActivity only. Additionally it would be better to abstract that process in a "user" class.