code4romania / teacher-workout-android

Teacher Workout Android app
Mozilla Public License 2.0
5 stars 17 forks source link

[#30] Login navigate to home #31

Closed alexandru-calinoiu closed 2 years ago

alexandru-calinoiu commented 2 years ago

On success login will navigate to home

What does it fix?

Closes #30

How has it been tested?

TODO:

lukstbit commented 2 years ago

The current navigation(starting in account) doesn't really work to well(for example, once in the home landing hitting BACK doesn't finish the activity). Instead, we should follow the principles from here.

This would mean having home as the start destination for the app and in there figuring out if the user is authenticated or not and if not triggering the account route(or onboarding etc).

AlexandraDamaschin commented 2 years ago

The current navigation(starting in account) doesn't really work to well(for example, once in the home landing hitting BACK doesn't finish the activity). Instead, we should follow the principles from here.

This would mean having home as the start destination for the app and in there figuring out if the user is authenticated or not and if not triggering the account route(or onboarding etc).

@lukstbit we can change that in another PR after merging this into develop.