Questions tagged [flutter-notification]
117 questions
                    
                    32
                    
            votes
                
                6 answers
            
        Flutter show app icon badge on push notification
I'm looking for a way to show an app icon badge when a user receives a push notification.
I'm using the Firebase_messaging plugin for flutter for the handling of the push notifications and flutter_app_badger for the app icon badges. 
But I want to…
         
    
    
        Kevin Walter
        
- 6,507
- 8
- 28
- 32
                    16
                    
            votes
                
                4 answers
            
        How to convert DateTime to TZDateTime in flutter?
I am trying to push local notification through my app by using flutter_local_notifications package and as on FlutterNotificationsPlugin the ".schedule" is deprecated I tried using ".zonedSchedule" but it requires TZDateTime value.
var androidDetails…
         
    
    
        Satyam Pandey
        
- 537
- 2
- 5
- 10
                    13
                    
            votes
                
                4 answers
            
        Flutter Local Notification not working in background?
I am using flutter local notification to display schedule notification in my app. But unfortunately it is not working when app is in terminated state.
Here is my code:
class Notifications {
static final FlutterLocalNotificationsPlugin _notifications…
         
    
    
        Zilaid
        
- 464
- 6
- 22
                    8
                    
            votes
                
                2 answers
            
        Flutter : flutter_local_notifications onSelectNotification not working when app is terninated
flutter_local_notifications is working fine when the app is in foreground or background
but when the app is terminated
onSelectNotification not working as expected , instead it's just open the application
static void initializeLocalNotification()…
         
    
    
        Muhammad
        
- 601
- 2
- 9
- 18
                    6
                    
            votes
                
                4 answers
            
        Not getting payload data when app is terminated, Flutter FCM and LPN
I'm setting up push notifications via FCM and LocalPushNotifications, I was able to set it up in foreground state of app and in the background. In terminated state of the app, I do receive the notification, but when I press on it, no action happens,…
         
    
    
        GrandMagus
        
- 600
- 3
- 12
- 37
                    6
                    
            votes
                
                1 answer
            
        Flutter - Cannot set Notification large icon
I'm using:   flutter_local_notifications: ^5.0.0+3
I'm showing notification like this, its all working. The custom icon is also working. BUt I'm trying to set a large icon, and its just not showing. Here is a screen shot of the notification without…
         
    
    
        RJB
        
- 1,704
- 23
- 50
                    5
                    
            votes
                
                2 answers
            
        Flutter awesome notification click open specific page
I am using Flutter awesome notifications. When the notification is clicked when the application is closed, I want to direct it to a special page within the application. What is the easiest way for me to do this?
         
    
    
        zey
        
- 177
- 2
- 15
                    4
                    
            votes
                
                0 answers
            
        How to get Push Notification + WebSocket on Flutter when app is closed? Without FCM or Firebase
I want to make sure that notifications come when the application is closed. I'm using flutter_local_notifications and for WebSocket web_socket_channel.
         
    
    
        d1sconnected
        
- 41
- 2
                    4
                    
            votes
                
                2 answers
            
        Flutter push notifications app background : firebase_messaging
I want to display a push notification when my app is in the background.
I am using the flutter_local_notifications package and the firebase_messaging package.
Push notifications are working great with firebase_messaging and when my app is the…
         
    
    
        Tom3652
        
- 2,540
- 3
- 19
- 45
                    4
                    
            votes
                
                0 answers
            
        How to disable notifications from other apps in flutter
I am developing an android launcher where one of the features snoozes all the other notifications, I have seen this, in an app called 'Morph', in the app, it takes you to Settings->Notification Access where you need to grant the app all notification…
         
    
    
        Shlok Jain
        
- 343
- 8
- 17
                    4
                    
            votes
                
                0 answers
            
        How to schedule and send periodic flutter local notifications with callback (which is called before sending the notification) in flutter
Via flutter app, I need to send periodic local notifications with callback--where callback is called for each period/interval before sending notification.
So far I have tried Timer to schedule periodic local notifications, but it does not work in…
         
    
    
        Navnath Hajare
        
- 61
- 5
                    3
                    
            votes
                
                1 answer
            
        The name 'IOSNotificationDetails' isn't a class. Try correcting the name to match an existing class
*I'm actually following the Flutter Local Notification in YouTubel and the link is : Flutter Local Notification
I'm using windows laptop and android emulator and I also updated the build.gradle file.
I'm getting an error at
var…
         
    
    
        Shreyas K S
        
- 49
- 1
- 4
                    3
                    
            votes
                
                0 answers
            
        How to remove notification icon from the status bar and notification count badge from app launcher icon on app open?
I am using the firebase with my flutter application. The application is built for both iOS & Android platforms. Upon receiving the notification, if I click on the notification, the notification icon from the status bar removes including the…
         
    
    
        Stack Overflow
        
- 1
- 5
- 23
- 51
                    3
                    
            votes
                
                0 answers
            
        Direct push notification to specific screen when app is terminated
I want the user to land to a specific screen when a notification is tapped from a terminated state. I know that the getInitialMessage() handles notifications from terminated state but it doesn't seem to navigate to the screen I want.
Here's the…
         
    
    
        mcfred
        
- 1,183
- 2
- 29
- 68
                    3
                    
            votes
                
                1 answer
            
        flutter firebase push notification icon
I made an app and I implemented push notifications and it works but I've tried to change the default icon with a image.png but it's not working the way that I expected. This is how my notification looks: 
And I want my icon to look like this:
I've…
         
    
    
        Luis Fernando Scripcaru
        
- 381
- 4
- 18