Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Android navigation doesn't survive process death #265

Open
FunkyMuse opened this issue Feb 7, 2024 · 10 comments
Open

Android navigation doesn't survive process death #265

FunkyMuse opened this issue Feb 7, 2024 · 10 comments

Comments

@FunkyMuse
Copy link

create starting scene A, open scene B from A

minimize the app, then open device explorer > processes > kill process > try to maximize the app, the current scene should be B and when you go back it should open A, instead it's only A

@Tlaster
Copy link
Owner

Tlaster commented Feb 8, 2024

PreCompose is not using SavedStateHandle now, so this is the current behavior, I'll try to add support to this but will be an Android only behavior.

@FunkyMuse
Copy link
Author

PreCompose is not using SavedStateHandle now, so this is the current behavior, I'll try to add support to this but will be an Androud only behavior.

Yes that's totally understandable, only Android needs this AFAIK

@FunkyMuse
Copy link
Author

@Tlaster is this in progress by you or?
It's kinda crucial for the UX when releasing to the Play Store as many devices kill the apps unexpectedly and the backstack is lost when using PreCompose

@Tlaster
Copy link
Owner

Tlaster commented Feb 15, 2024

@Tlaster is this in progress by you or? It's kinda crucial for the UX when releasing to the Play Store as many devices kill the apps unexpectedly and the backstack is lost when using PreCompose

Sorry, but I am currently ill and may not have time to do this quickly.

@FunkyMuse
Copy link
Author

@Tlaster is this in progress by you or? It's kinda crucial for the UX when releasing to the Play Store as many devices kill the apps unexpectedly and the backstack is lost when using PreCompose

Sorry, but I am currently ill and may not have time to do this quickly.

I hope you recover quickly, take care!

If you can point me into the way you want this done, I can create a PR.

@Tlaster
Copy link
Owner

Tlaster commented Feb 16, 2024

@Tlaster is this in progress by you or? It's kinda crucial for the UX when releasing to the Play Store as many devices kill the apps unexpectedly and the backstack is lost when using PreCompose

Sorry, but I am currently ill and may not have time to do this quickly.

I hope you recover quickly, take care!

If you can point me into the way you want this done, I can create a PR.

Thanks, I don't have a clue right now. If you want to contribute, feel free to do so.

@inveders
Copy link

inveders commented Sep 5, 2024

Hello @Tlaster and @FunkyMuse what about this ? @FunkyMuse have you finally contributed ? @Tlaster do you plan do do this?

@FunkyMuse
Copy link
Author

FunkyMuse commented Sep 5, 2024

Hello @Tlaster and @FunkyMuse what about this ? @FunkyMuse have you finally contributed ? @Tlaster do you plan do do this?

Hi, I moved away from using this library, I'm using the official navigation library from Google by jetbrains on KMP.

@inveders
Copy link

inveders commented Sep 5, 2024

Ok thanks you @FunkyMuse so with the official navigation library this case work I guess?

@FunkyMuse
Copy link
Author

Ok thanks you @FunkyMuse so with the official navigation library this case work I guess?

Yes it does

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants