Skip to content

[@capacitor/push-notifications]: Push Notification Events (pushNotificationActionPerformed or pushNotificationReceived) not triggering #2457

@rsverzoenstack

Description

@rsverzoenstack

Bug Report

Plugin(s)

@capacitor/push-notifications@7.0.3

Capacitor Version

💊   Capacitor Doctor  💊 

Latest Dependencies:

  @capacitor/cli: 7.4.4
  @capacitor/core: 7.4.4
  @capacitor/android: 7.4.4
  @capacitor/ios: 7.4.4

Installed Dependencies:

  @capacitor/cli: 7.4.3
  @capacitor/core: 7.4.3
  @capacitor/android: 7.4.3
  @capacitor/ios: 7.4.3

[success] iOS looking great! 👌
[success] Android looking great! 👌

Platform(s)

iOS

Current Behavior

PushNotifications.addListener('pushNotificationActionPerformed') or PushNotifications.addListener('pushNotificationReceived') not triggering

Expected Behavior

should have fire after receiving notification from firebase (already added console log inside callback, and no console.log has been showing)

Code Reproduction

Other Technical Details

Additional Context

Weirdly enough, when i downgraded back to Capacitor v6 for everything, it worked fine.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions