I am using firebase messaging for the notifications of my app and i want to add large icon in the notification but i couldn't find a way to do so with FCM neither the FCM docs have anything about this.
I tried using data only notifications. They are working fine on android but on ios the notifications are not shown. I tried passing content-available:true but it didn't work. Please help.
Related
I have been stuck with this problem where my flutter app is not receiving any push notification with FCM which basically should work out of the box without any code. I have seen and tried all the past solutions posted on stack overflow related to the topic but had no success. Can anyone guide me here as to what to do to get the functionality working
in my application I need to send a request to the database 2 times a day and issue a notification on the response.
The problem is that the Dart codes I wrote should work even when the app is closed. I used workmanager background service and flutter_local_notifications. On the Android system, it works without problems, but on the IOS system, it constantly causes problems. How can I make things work the way I want for both Android and iOS?
Im already using the awesome_notifications package to create custom notifications in my Flutter app but it doesn’t seem to support communication notifications for iOS (notifications with a profile picture instead of the app icon). I don’t know if there’s a plan to add this in the future and it’s been a year since these notifications were released with iOS 15 so I’m looking for other solutions. Are there any example Flutter apps with a platform channel or something like that to create communication notifications?
First of all I am completely a beginner in android native code, I started with flutter app development. My problem is with the implementation of push notification. I want to Fetch data from the socket API continuously in the background and use the data to show as push notification when my FLUTTER APP(NOT ANDROID APP) is in the background/foreground/killed.
If I am not wrong I know I have to code in native android but the thing is I am unable to find an example connecting the native java code with the flutter app(NOT android app) for push notification service. I am not searching for an FCM solution. Can anyone give me an example using plugins like the work manager, that works in the background? Moreover, in my flutter app, I want to navigate to another page when the notification is pressed.The task is like whenever the socket sends a message there will be a push notification (no matter the app is running or not), on clicking the notification the user can go to a specific page of the flutter app.
In current application, locally checking whether application has new messages or not. If application is in background and there are 5 messsages arrived I need to display badge count on application icon as 5 only and still application should be there in background.
How can I achieve this using ionic?
It's long to implement and I don't know where you are stuck, but, in short, you have to consider three aspects :
Configure the server to push the notifications (with a messaging solution such as Firebase Cloud Messaging)
Receive the push notifications in the app (with an Ionic or Cordova plugin)
Instead of displaying a notification, change the badge on the app icon (with an Ionic or Cordova plugin)