Closed suhail600 closed 10 months ago
Hi @suhail600, what platform(s) are you seeing this issue on?
Also, can you try sending the notification using the js sdk to see if you still encounter this issue? You can use the plugin example app. It has a script that you can use to send the message. See https://github.com/firebase/flutterfire/blob/master/packages/firebase_messaging/firebase_messaging/example/scripts/send-message.js
its working now thanks.
Description: I have successfully implemented push notifications from a .NET setup to a Flutter app using the Firebase Admin SDK. However, I am facing an issue with images not being displayed when the app is in the background and terminated state.
Issue Details:
Current Behavior: Push notifications are delivered successfully. Images are displayed when the Flutter app is in the foreground via flutter_local_notifications: ^16.3.0. both working via firebase console and firebase admin sdk .NET integration Images are not displayed when the Flutter app is in the background and terminated state. via firebase_messaging: ^14.7.10 via firebase console working but not working through firebase admin sdk .net integrration
Expected Behavior:
Images should be displayed in push notifications even when the Flutter app is in the background. Setup: .NET Server: Firebase Admin SDK Flutter App: Using firebase_messaging: ^14.7.10
Additional Information:
Images are visible in notifications when sent via the Firebase Console, confirming that the images are correctly uploaded and accessible. Code snippets for push notification implementation on the .NET server and Flutter app have been attached for reference.
Code Snippets:
.NET
Flutter