Open bhanuprakash1226 opened 11 months ago
Similar issue here. The workaround was using notifee library for iOS
useEffect(() => {
if (Platform.OS === 'ios') {
return notifee.onForegroundEvent(({type, detail}) => {
switch (type) {
case EventType.PRESS:
// Handle notification payload
}
break;
}
});
}
}, []);
registerNotificationOpened
method isn't working as expected in the scenario: when the app receives a notification in the foreground state and I open the app post killing the app by tapping on a notification.Using the latest version:
5.1.0
RN version:0.72.5
iOS:17.1.2