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

Setting to confirm exiting the app #292

Open
NripPrajapat opened this issue Dec 5, 2024 · 9 comments
Open

Setting to confirm exiting the app #292

NripPrajapat opened this issue Dec 5, 2024 · 9 comments
Assignees
Labels
enhancement New feature or request

Comments

@NripPrajapat
Copy link

Add exit warning when I press back button.
It directly exits the app even when I am on the menu list.
It also exits the app directly even when I've selected some notes.

@maelchiotti maelchiotti self-assigned this Dec 5, 2024
@maelchiotti maelchiotti added the enhancement New feature or request label Dec 5, 2024
@maelchiotti maelchiotti changed the title 'Exit the app' warning Setting to confirm exiting the app Dec 5, 2024
@maelchiotti maelchiotti moved this to To do in LocalMaterialNotes Dec 5, 2024
@maelchiotti maelchiotti moved this from To do to Next release in LocalMaterialNotes Dec 11, 2024
@maelchiotti
Copy link
Owner

@NripPrajapat
Copy link
Author

Use: https://pub.dev/packages/double_back_to_exit

How do I use it?

You are the developer, so I guess, you would have to implement it.

@maelchiotti
Copy link
Owner

maelchiotti commented Dec 12, 2024

That was a note to myself so I remember which package to use when I implement this. Sorry for the misunderstanding 😄

@NripPrajapat
Copy link
Author

When under a category or a label list, if I press back button, then it should go in the main notes list, not just exit the app.

@maelchiotti
Copy link
Owner

I have created a separate issue for this: #293. I'll add what you requested to the list, it already works for the settings and it also makes sens for the labels and the bin.

@maelchiotti maelchiotti moved this from Next release to To do in LocalMaterialNotes Dec 14, 2024
@maelchiotti
Copy link
Owner

Waiting for #293 to be resolved

@NripPrajapat
Copy link
Author

It is still not working.

1 similar comment
@NripPrajapat
Copy link
Author

It is still not working.

@maelchiotti
Copy link
Owner

Yes, that is simply because I've not managed to do this yet. That's why the issue is still opened, not closed.

I've looked into it a bit and there is a very weird bug that prevents me from intercepting the app closing. I will have to take more time to understand why.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: To do
Development

No branches or pull requests

2 participants