android / socialite

Apache License 2.0
346 stars 60 forks source link

Handle navigation back double clicks #61

Open Goooler opened 4 months ago

Goooler commented 4 months ago

Double-clicks the back button on Chat screen, and we can see the window goes to a white screen as the back stack is empty, we can handle the failed pop back ref to https://developer.android.com/guide/navigation/backstack#handle-failure

https://github.com/android/socialite/assets/10363352/cf802cee-893d-4b48-babf-833ba0fe4462

MubarakNative commented 2 months ago

What about the problem navigateUp button doesn't work as expected, I already reported this bug on issuetracker Check that out: https://issuetracker.google.com/issues/347114499

Goooler commented 2 months ago

Yeah, I filed as well, see https://issuetracker.google.com/issues/336399262.

MubarakNative commented 2 months ago

Ah, I see it. The problem was resolved by changing the navigation compose library to 2.7.7 so far the stable version, but we are missing typesafe, btw waiting for the stable release tho.