Open
Description
What feature would you like to see?
As described in react-native-firebase#5716, when the user taps on a notification group, there is no corresponding event / trigger available within the app to know this occurred. It is hinted that this might be a limitation within the Firebase Android SDK itself, rather than an issue with the React Native Firebase library, hence this issue.
How would you use it?
It looks like there is room within the API for a dedicated method when notifications are opened whilst the app is in the background:
public void onMessagesReceived(@NonNull com.google.firebase.messaging.RemoteMessage[]);
It is less clear how this could be approached when a group of notifications are opened whilst the app is quit — I think it is not unreasonable to add a suitable Extra
to the existing API method:
public final int onStartCommand(android.content.Intent, int, int);