Issue I am implementing three buttons (5, 10, and 15 minutes) that are supposed to schedule a future notification for the user. E.g. when they click 5 minutes, a notification will pop up after 5 minutes with a message no
Continue readingTag: notifications
How to schedule a notification based on user input using Flutter for Android?
Issue My goal: When a user clicks a button that says "5 minutes", it schedules a notification in 5 minutes. Then 5 minutes passes and the notification pops up. It should give the notification even if my app is closed/not
Continue readingFCM & AwesomeNotifications display notification twice
Issue Im using Firebase Cloud Messaging as my push notification service and AwesomeNotifications package for the notification badge service. Everything’s working fine but there is only one problem where the notification displayed twice one from the FCM the other is
Continue readingSet time to live (TTL) for Android notification
Issue My Android app notifications are relevant only for a short time period. So if the user did not interact with the notification for a X minutes I would like to remove the notification. Is there an “out of the
Continue readingHow to use Notification.deleteIntent
Issue I’m trying to detect when my notification gets cleared. My question directly refers to this answer which outlines what I’m suppose to do. This is how I’m implementing the actions: // usual Notification initialization here notification.deleteIntent = PendingIntent.getService(context, 0,
Continue readingAndroid Notification restarts app but want to resume
Issue Hi I have a been able to get a notification displayed for my activity, and when the user clicks the notification the app restarts. However I just want it to reappear not restart. eg. it is a web app
Continue readingPrevent user from dismissing notification
Issue Some apps have notifications which canĀ“t be dismissed by swiping them away. How can I manage such behaviour? Solution In addition to Andro Selvas answer: If you are using the NotificationCompat.Builder, just use builder.setOngoing(true); Answered By – Marian Klühspies
Continue readingWhy is startForeground Notification Slow to Appear on First Call?
Issue Soon after my app starts up I call startService then startForeground. I provide startForeground with a notification, but when it is called for the first time in the app the notification takes a while to appear. However, when I
Continue readingHow can I show notification panel when swiping down
Issue I am making a launcher in flutter and I wanted to show notification panel when swipe down on homescreen. I am trying with flutter_local_notifications package but I cant figure out how to do it, GestureDetector( onVerticalDragDown: (details) { //
Continue readingAndroid: ActivityCompat.requestPermissions does not show a popup (Android 13, targetSdkVersion=33)
Issue There are many (one, two, three, four) questions on this topic on SO already. However, none of the answers I have found so far resolves the issue for me. The problem is that the ActivityCompat.requestPermissions does not trigger a
Continue reading