For an Android app that targets API 33 and that includes FCM for push notifications, what is the advice on requesting the NOTIFICATION permission?
My usecase: We have a tab in our app that when pressed, calls Intercom.client().present(). While the user is viewing the HelpCenter, the user could start a customer support chat. This is an ideal moment to request the NOTIFICATION permission. The user just sent a chat message and likely expects a notification when there is a reply.
Is there a way for our app to know when the user sent a message so we can request the permission? Or does the intercom SDK request the notification permission on behalf of the app if needed?
- Intercom Android SDK v15.1.3
- App targetSDK 33
- Firebase BOM 30.0.0 (Firebase Messaging 23.0.4)
Best answer by RachealView original