Skip to content

open_notification event not being triggered when app is not in background #8430

Open
@khuffie

Description

@khuffie

Before this gets flagged as a duplicate of #8128, we have updated to the new version of Firebase SDK that includes this resolution and the issue still exists.

[REQUIRED] Step 1: Describe your environment

  • Xcode version: 12.5
  • Firebase SDK version: 8.2.0
  • Installation method: SPM
  • Firebase Component: Messaging

[REQUIRED] Step 2: Describe the problem

Steps to reproduce:

  1. Force quit the app
  2. Send a push notification to the app
  3. Tap on the push notification
  4. Observe Debug View
  5. Expected: notification_open event gets triggered
  6. Actual: No notification_event gets triggered

We are noticing that iOS is severely undercounting the push notification open rate. On Android, our open rate is around 12%. On iOS, our open rate is around 0.29%. However, evidence suggests that users ARE receiving push notifications and opening them on iOS (we see similar surges in traffic as Android), but just that the notification_open event is not getting triggered.

We have confirmed that swizzling is ON.

We have tested the following scenarios, each 10 times, and each reproduced 100%

App is in the background, notification is received, notification_open is triggered
App is closed, notification is received, notification_open is NOT triggered
App is open in foreground, notification is received, notification_foreground is triggered correctly
We are monitoring the events via the DebugView.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions