Currently using this function for react-native android app
PushNotification.onNotificationOpened(notification => {
console.log("on notification opened", notification);
});
This will work when app is in background. When in killed state, clicking notification just opens app.