firebase / flutterfire

🔥 A collection of Firebase plugins for Flutter apps.
https://firebase.google.com/docs/flutter/setup
BSD 3-Clause "New" or "Revised" License
8.71k stars 3.97k forks source link

on message listener dosen't work in ios #11606

Closed ahmedfayed29 closed 1 year ago

ahmedfayed29 commented 1 year ago

i'm useing this dependancies : firebase_analytics: ^10.4.4 firebase_core: ^2.15.0 firebase_performance: ^0.9.1 firebase_dynamic_links: ^5.1.0 firebase_in_app_messaging: ^0.7.3+4 firebase_app_installations: ^0.2.3+4 firebase_crashlytics: ^3.3.4 firebase_messaging: ^14.6.8 flutter_local_notifications: ^15.1.1

when i push message from firebase it's appear but can't handle it from on message when app is running i mean when i try to print comming message in ( on message ) method listener it doesn't print any thing and doesn't enter this scope or listener

my flutter doctor Doctor summary (to see all details, run flutter doctor -v): [✓] Flutter (Channel stable, 3.10.6, on macOS 13.5.2 22G91 darwin-arm64, locale en-EG) [✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0) [✓] Xcode - develop for iOS and macOS (Xcode 14.3.1) [✓] Chrome - develop for the web [✓] Android Studio (version 2022.2) [✓] IntelliJ IDEA Community Edition (version 2023.1.5) [✓] VS Code (version 1.80.1) [✓] Connected device (3 available) [✓] Network resources


my flutter dependancies:

Resolving dependencies... (1.3s) Got dependencies. Dart SDK 3.0.6 Flutter SDK 3.10.6 a5dr_app 5.1.1+1000090

dependencies:

dev dependencies:

transitive dependencies:

darshankawar commented 1 year ago

@ahmedfayed29 There's not enough information provided to properly address the issue. Please provide all relevant details as asked in issue template while filing an issue.

You may check below issues and see if they resemble your case or not.

https://github.com/firebase/flutterfire/issues/11008 https://github.com/firebase/flutterfire/issues/10082

Revadike commented 1 year ago

I have the same issue, but for onMessageOpenedApp. onMessage works fine for ios. Android works perfectly.

wolru commented 1 year ago

same issue

google-oss-bot commented 1 year ago

Hey @ahmedfayed29. We need more information to resolve this issue but there hasn't been an update in 7 weekdays. I'm marking the issue as stale and if there are no new updates in the next 7 days I will close it automatically.

If you have more information that will help us get to the bottom of this, just add a comment!

google-oss-bot commented 1 year ago

Since there haven't been any recent updates here, I am going to close this issue.

@ahmedfayed29 if you're still experiencing this problem and want to continue the discussion just leave a comment here and we are happy to re-open this.