Skip to content

[firebase_messaging]: Cloud Messaging: flutter firebase background notification not working for iOS (Callbacks not triggering) #17206

@petrnymsa

Description

@petrnymsa

Is there an existing issue for this?

  • I have searched the existing issues.

Which plugins are affected?

No response

Which platforms are affected?

No response

Description

Reopening issue #16878 which was closed by stale bot.

This issue persists.

Reproducing the issue

See #16878

Firebase Core version

3.10.1

Flutter Version

3.27.0

Relevant Log Output

Flutter dependencies

Expand Flutter dependencies snippet
Replace this line with the contents of your `flutter pub deps -- --style=compact`.

Additional context and comments

No response

Activity

kirya355

kirya355 commented on Mar 17, 2025

@kirya355
ndelanou

ndelanou commented on Mar 17, 2025

@ndelanou

This is a big deal 🚨
We are now unable to receive notifications on iOS since our notification system is based on data-only push notifications. Nothing goes through.

dragongesa

dragongesa commented on Mar 18, 2025

@dragongesa

This is a big deal 🚨 We are now unable to receive notifications on iOS since our notification system is based on data-only push notifications. Nothing goes through.

Did you manage to show notifications when the app terminated on iOS before? How to do that? because FCM documentation says it's not possible to show notifications when the app is terminated in iOS. @ndelanou


For this issue, I still receive the background notification (not terminated), but then since evening I haven't received it anymore... it seems the bug is fresh.

SelaseKay

SelaseKay commented on Mar 18, 2025

@SelaseKay
Contributor

Hi @petrnymsa, thanks for the report! I couldn't reproduce the issue on my end. Could you provide detailed steps to help replicate it?

added
blocked: customer-responseWaiting for customer response, e.g. more information was requested.
and removed
Needs AttentionThis issue needs maintainer attention.
on Mar 18, 2025
petrnymsa

petrnymsa commented on Mar 18, 2025

@petrnymsa
Author

They are still same as in original issue. Issue was closed just because of "stale bot" which does not make sense to push community keep "issue" updated.

Issue persists and I am not only one.

Firebase packages are updated. Real device or iOS simulator - behavior is same. background handler or event onMessageOpenedApp are not fired at all. (By the way started to see same behaviour for Android devices too)

added
Needs AttentionThis issue needs maintainer attention.
and removed
blocked: customer-responseWaiting for customer response, e.g. more information was requested.
on Mar 18, 2025
SelaseKay

SelaseKay commented on Mar 18, 2025

@SelaseKay
Contributor

I couldn't reproduce this behaviour with the firebase_messaging example app. Could you run the example app with your firebase credentials to see if it's still reproducible?

118 remaining items

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @jgohilsigma@gferon@orevial@ndelanou@mvreenv

        Issue actions

          [firebase_messaging]: Cloud Messaging: flutter firebase background notification not working for iOS (Callbacks not triggering) · Issue #17206 · firebase/flutterfire