Closed
Description
Hi,
I upgraded the flutter version of app to the latest (1.22.5), since then notifications are not displayed. I can see in the logs that the onMessage callback is being called and the notification data is being sent - testing via the firebase console.
This the output from flutter doctor:
[✓] Flutter (Channel stable, 1.22.5, on Mac OS X 10.15.6 19G73 darwin-x64, locale en-IL)
• Flutter version 1.22.5 at /Users/****/Desktop/Dev/tools/flutter
• Framework revision 7891006299 (9 days ago), 2020-12-10 11:54:40 -0800
• Engine revision ae90085a84
• Dart version 2.10.4
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
• Android SDK at /Users/****/Library/Android/sdk
• Platform android-29, build-tools 29.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.3, Build version 12C33
• CocoaPods version 1.8.4
[✓] Android Studio (version 3.5)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 43.0.1
• Dart plugin version 191.8593
• Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
[✓] IntelliJ IDEA Ultimate Edition (version 2020.1.3)
• IntelliJ at /Applications/IntelliJ IDEA.app
• Flutter plugin version 47.1.3
• Dart plugin version 201.8538.45
[✓] IntelliJ IDEA Community Edition (version 2019.3.2)
• IntelliJ at /Applications/IntelliJ IDEA CE.app
• Flutter plugin version 43.0.3
• Dart plugin version 193.6015.53
[✓] VS Code (version 1.52.0)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.16.0
[✓] Connected device (2 available)
• sdk gphone x86 arm (mobile) • emulator-5554 • android-x86 • Android 10 (API 29) (emulator)
• iPhone 12 (mobile) • AEB05F91-087A-4EE1-8472-DB3DAD672C71 • ios • com.apple.CoreSimulator.SimRuntime.iOS-14-3 (simulator)
I know that sometimes in simulator it does not work, so I always try on real device.
I upgraded to firebase messaging latest version and using ^7.0.3.
In the version before upgrading (v1.17.0) when installing the build on device I do see the notifications.
I'll be happy to provide more info
thanks