Comments (3)
OnlyAlertOnce is a flag to tell to notifications center to play the notification sound, vibration and tickers only if it's not already showed on a active notification with the same id.
Please explain your issue in more details, so I can help you.
OBS: E ai breno! kkk
from awesome_notifications.
Fala Rafael, eu nem tinha visto que era você, que mundo pequeno, depois olha a mensagem que te mandei lá no Instagram.
Cara, meu problema é o seguinte, eu estou fazendo um App tipo Whatsapp e seu plugin foi o melhor que achei. Na parte de chamada, quando estou ligando para uma pessoa eu envio um push pelo firebase e já fico conectado ao socket esperando a outra pessoa, quando a outra pessoa recebe o push ela clica em Aceitar ou Rejeitar, quando ela Aceita eu conecto ela ao socket e junto as duas pernas.
Igual Whatsapp faz. Mas tipo, neste caso eu tive este problema do alerta sair da tela sozinho com quase 4 segundos, ai o tel para de vibrar e para de chamar, eu queria manter o alerta aberto, com tel vibrando e o som em loop até a pessoa ter uma ação.
A vibração dura só um pouquinho também, mas vi que é pq depois de configurar o canal ela fica salva nas configurações e depois de remover o app e instalar de novo ele pega a nova configuração.
O som do push dura até a música que eu escolher como padrão acabar, se tivesse como entrar em loop também ia ser legal.
Um outro detalhe também é que o action button quando não esta no alerta fica encolhido, se tivesse como ele ficar sempre visível igual o Whatsapp também ia ser legal.
Mesmo com estes detalhes seu plugin é o melhor que vi, fora que é o mais fácil para configurar. Parabéns.
Ah, tem um detalhe na configuração que vc precisa colocar na documentação dele, nesta v2 que o Flutter esta pedindo para atualizar, eu precisei incluir o registro do plugin assim no meu Application.kt:
override fun registerWith(registry: PluginRegistry) {
AwesomeNotificationsPlugin.registerWith(registry?.registrarFor("me.carda.awesome_notifications"))
FirebaseCloudMessagingPluginRegistrant.registerWith(registry)
}
from awesome_notifications.
This problem was fixed on the example created for the topic bellow:
from awesome_notifications.
Related Issues (20)
- Check if user has actually denied permissions HOT 1
- Bug release - Firebase service is not available HOT 2
- Doc: Steps for non-xcode IDE like vscode in configuring IOS HOT 1
- Using locked: true with NotificationContent produces notifications that are still dismissable (Android) HOT 2
- Cannot set BUILD_LIBRARY_FOR_DISTRIBUTION and APPLICATION_EXTENSION_API_ONLY to Codemagic HOT 2
- Unable to instantiate service me.carda.awesome_notifications.core.managers.StatusBarManager HOT 1
- No Dart Background Handler Registered HOT 2
- Support for More Image Formats HOT 1
- Need more clarification about playing sound in background simultaneously with the notification. HOT 1
- Compiling for iOS 11.0, but module 'IosAwnCore' has a minimum deployment target of iOS 12.0 HOT 1
- 'addApplicationDelegate' is unavailable in application extensions for iOS HOT 35
- After the vibration mode is enabled, the notification is triggered several times, and only one vibration is generated HOT 1
- Awesome Notifications not initializing caused by setListeners HOT 2
- Readme flutter_background_fetch dose not exist HOT 1
- Cancel only the next notification occurrence in repeat mode HOT 1
- Custom Sound is not working when app is in background or terminated HOT 1
- me.carda:AndroidAwnCore not found HOT 5
- [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(SHARED_PREFERENCES_NOT_AVAILABLE, class c3.b isn't parameterized, sharedPreferences.get, null) HOT 4
- NullPointerException: Context.getPackageName()' on a null object reference HOT 1
- How to receive / show payload from fcm (awesome_notifications_fcm) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from awesome_notifications.