Closed Kayvee08 closed 11 months ago
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
inHomeDestination.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.
Adding link to the issue :- https://github.com/waseefakhtar/dose-android/issues/65