As in the title, I have background notification service which extends FirebaseMessagingService and I want to display confirmation dialog after receiving some notification with options yes/no. When user will choose yes option I want to navigate him to some specific view but my whole app base on one activity with NavGraph, so I don't have any access to navController from service.
I have read that in approach with many fragments or activities I should create new Activity from Service with Dialog, but this approach contradicts the assumptions associated with composables.
Any idea, how can I solve this problem? Some best practices?