Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS. Background listener not calling when send FCM Push Notification #42

Open
ObranS opened this issue Nov 9, 2023 · 1 comment
Open

Comments

@ObranS
Copy link

ObranS commented Nov 9, 2023

Have an issue in iOS app background state and FCM Push Notification.

Steps to reproduce:

  • The backend sends FCM Push Notification.
  • iOS receives Push Notifications. Alert appears.
  • onBackground callback was not triggered.

Unfortunately, neither onBackground nor onMessage was not triggered.

Are there any additional parameters I have to provide for FCM to stimulate onBackground callback?

Received remote notification request 627E-B950 [ waking: 0, hasAlertContent: 1, hasSound: 1 hasBadge: 0 hasContentAvailable: 0 hasMutableContent: 1 pushType: Alert]
Remote notification request 627E-B950 can be modified: 1
Process delivery of push notification 627E-B950
@mihai-gabriel8
Copy link

Hello @ObranS, have you found a fix for this? On iOS we are sending the notification throuh APNs, but the background handler is still not called.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants