-
-
Notifications
You must be signed in to change notification settings - Fork 87
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
adding-navigate-single-top-to-navHostController #72
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good @Kayvee08! The only issue now is that ASK_NOTIFICATION_PERMISSION
is not passed to the next screen since there's no back stack: https://github.com/waseefakhtar/dose-android/pull/72/files#diff-45cc24ad02e2857fe4dafd267f0d8d8368ad2d362c1832b11a3a0929cbf7ad0dL55. Can you look into that?
We retrieve the value of ASK_NOTIFICATION_PERMISSION
in HomeDestination.NavGraphBuilder.homeGraph
and ask for notification permission in Android 13 after the medication is added to DB successfully.
@Kayvee08 I just added a fix for this. So we're all good now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Thank you for your contribution @Kayvee08! :)
Adding link to the issue :- #65