Skip to content

[Android] foreground and userInteraction not filled correctly #10

@avencat

Description

@avencat

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
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions