Questions tagged [notifications]

A notification is a user interface element displayed to indicate an event has occurred.

A notification is a user interface element displayed to indicate an event has occurred.

Notifications typically occur in a designated area of an application's UI, such as an icon appearing in a status bar or an alert message.

15974 questions
4
votes
5 answers

Notifying container object: best practices

I have two classes: Account and Operator. Account contains a list of Operators. Now, whenever an operator (in the list) receives a message I want to notify Account object to perform some business logic as well. I think of three alternatives on how…
Pavel Bastov
  • 6,911
  • 7
  • 39
  • 48
4
votes
1 answer

facebook app, post to user and notify him

I've searched for many many hours on this topic through google and also read a lot of questions here, but nothing solved my problem. I'm making a facebook application, the application has offline_access and publish_stream permissions. I can…
4
votes
2 answers

Set a custom sound in the local notification

Android 13 Create a local notification with a custom sound I have my event_sound.mp3 in my res/raw/event_sound.mp3 I have the following notification val notification = NotificationCompat.Builder(context, channelId) .setContentTitle(title) …
ant2009
  • 27,094
  • 154
  • 411
  • 609
4
votes
4 answers

How to make a title blink until it becomes active with jQuery?

I have a javascript chat. When a user receives a message, I want the title to blink until it becomes active. (like Gmail Talk) For example: You are in an other tab. Title is My website Someone talks to you. Title blinks betwen My website and User…
Benjamin Crouzier
  • 40,265
  • 44
  • 171
  • 236
4
votes
1 answer

How to play audio in flutter ios app when app is killed?

In my app I am trying to play a specific sound when new notification comes. It is working fine in android. But in IOS if the app is in background it will work. If the app is killed it will play default notification sound. Future
Shebin PR
  • 75
  • 1
  • 5
4
votes
4 answers

iOS - Notification of when a call is taking place?

Is it possible to be notified or detect when a GSM/CDMA call is taking place on an iOS handset? I have an application that uses audio in the background and I want to be able to detect when a call is taking place so that my app can react accordingly…
Donal Rafferty
  • 19,707
  • 39
  • 114
  • 191
4
votes
3 answers

How to play a sound in Silent Mode?

I'm coding an alarm app using Flutter (Android only, for now). I managed to play the alarm using a notification. But it only works when the phone isn't in Silent Mode. Is there a way to build such an app using Flutter? Playing the sound no matter…
4
votes
1 answer

Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE

I am making Notification app and struggling with below error: java.lang.IllegalArgumentException: com.tonyapp.rabbitfarm: Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE be specified when creating a…
4
votes
2 answers

The method 'onSelectNotifications' isn't defined using flutter local notification plugin

in flutter_local_notification 12.0.2 The onSelectNotification parameter is not anymore. So what is the alternative of this. So that we can handle callback when we click on notification.
Zilaid
  • 464
  • 6
  • 22
4
votes
2 answers

How to programmatically disable "Wireless Emergency Alerts" on Android?

I'm trying to see if it's possible to programmatically disable "Wireless Emergency Alerts" such as Amber Alerts and other emergency alerts. Has anyone been able to accomplish this, or have any helpful information that can point me in the right…
4
votes
2 answers

Control Volume Level of Custom Notification Sound in Flutter

this is more so a question asking about how to approach a problem vs me posting code and asking where the error is. But I am building a paging system in flutter (to work on both android and ios). As a result, I am using custom sounds in my…
4
votes
1 answer

Notifee Custom Sound works in foreground, not in background in React Native

I'm trying to build an app with React Native where I need to send the notification with some custom notification sound. The Notifee shows notifications and sound in the foreground, but it does not play sound in the background. This is my App.js…
4
votes
1 answer

Android MediaStyle Notification image (largeIcon) is pixilated

I'm trying to show a media style notification, and I'm grabbing the image for the art from my app's local files directory by Uri. When the same exact same image is shown in my app (via coil's AsyncImage) it displays in perfect quality, but when the…
4
votes
1 answer

How can i show the badge count on app icon in android? ShortcutBadger does not work, I don't want to use widget

I used ShortcutBadger library for android but it is not working in my case. I tested it on various devices. I googled about it and possible solution can be use of widget. Is there any other solution? Apps like facebook whatsapp showing the badge…
Nadeem Aslam
  • 123
  • 1
  • 7
4
votes
0 answers

Not getting heads up notifications for a while when you swipe up local notifications

When I swipe up after the local notification comes, the application notifications don't appear on the screen for a while. What could be the reason for this? I've read something that when heads up notifications are swiped up, it sends a warning to…
1 2 3
99
100