As notificações estão sendo apresentadas quando o aplicativo está em primeiro plano

0

Eu desenvolvo uma aplicação (Qt / QML) que usa o Ubuntu.PushNotifications. E eu tenho um problema com os empurrões.

Documentação oficial diz:

If the application is in the foreground when a notification arrives, the notification will not be presented.

Infelizmente, na prática, esta regra não funciona . O telefone está bipando e mostrando o cartão de notificação toda vez que o envio é recebido (em primeiro e segundo plano).

Existe alguma solução / solução alternativa?

    
por Alexander Nikishin 07.02.2017 / 12:03

0 respostas