react-native-push-notification-CE
react-native-push-notification-CE copied to clipboard
[Android] foreground and userInteraction not filled correctly
Hi,
On Android, when I receive a notification, on the onNotification
method, the userInteraction
field is missing so I get:
{
…notification,
foreground: true,
}
instead of:
{
…notification,
foreground: true,
userInteraction: false,
}
Another issue (more annoying) is when I tap on the notification on the Notification Center and the app is open in foreground, I get:
{
…notification,
foreground: false,
userInteraction: true,
}
instead of:
{
…notification,
foreground: true,
userInteraction: true
}