iOS WhatsApp notifications sometimes not received when using Waha #1263
Replies: 2 comments 3 replies
-
|
You need to send |
Beta Was this translation helpful? Give feedback.
-
Title: Olá @devlikepro! Desculpe incomodá-lo novamente e obrigado pela dica anterior. O que eu faço agora (por mensagem enviada)
Código (C#) – simplificado: aguarde SendWahaSeenAsync(sessão);
aguarde ChangeWahaTypingStatusAsync(sessão, toPhone, true);
aguarde Task.Delay(Random.Shared.Next(1500, 4000));
aguarde ChangeWahaTypingStatusAsync(sessão, toPhone, false);
var externalId = aguarda _whatsAppSender.SendWahaMessageAsync(sessão, corpo, toPhone);
// pequeno atraso aleatório após o envio
aguarde Task.Delay(Random.Shared.Next(2000, 6000));
// após finalizar um lote, se pelo menos um WhatsApp foi enviado:
aguarde _whatsAppSender.SetWahaPresenceAsync(sessão, "offline");HTTP que estou chamando:
O problemaNo iOS, as notificações de tela de bloqueio/banimento para mensagens recebidas de clientes são inconsistentes quando o WAHA está em execução. Às vezes eles chegam, às vezes não. Quando não o fazem, a mensagem está lá dentro do WhatsApp, mas o telefone não mostrou notificação. Hipóteses/perguntas
Se eu não entender como a presença afeta as notificações do iOS (por exemplo, heurísticas Apple/WA que tratam “cliente web ativo” como suprimíveis), informe-me o fluxo de práticas recomendadas que você recomenda (sequência exata + tempo). |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I’ve successfully set up a Waha session with my phone number, and everything works fine for sending and receiving messages. However, I noticed that on my iPhone, sometimes I don’t receive WhatsApp notifications when the app is in the background.
I'm using Waha Plus
I have the WhatsApp app installed and notifications enabled.
The behavior seems inconsistent: sometimes notifications arrive, sometimes not.
My questions:
Is there a known issue with iOS notifications when using Waha alongside the WhatsApp app?
Are there any recommended settings or workarounds to ensure notifications are reliably delivered to the iPhone while Waha is running?
Could this be related to multiple sessions on the same WhatsApp account?
Thanks for your help!
Beta Was this translation helpful? Give feedback.
All reactions