GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEV
,
WEBDEV
e
WINDEV Mobile
Inicio
|
Mensagens recentes
|
Conecte-se...
|
Disconnect
|
Português
Inicio
→
WINDEV Mobile 2024
→
[WM23] Local notification
[WM23] Local notification
Iniciado por ARV, ago., 27 2018 7:23 PM - Sem resposta
Conecte-se…
ARV
#1
Membro registado
498 mensagems
Popularité : +8 (8 votes)
Publicado em agosto, 27 2018 - 7:23 PM
Hi
I'm trying to use a local notification on android and iPhone
I use a firebase and Apple respecting service.
I have a function on the start of the app that recieve the push notification from those plataforms
in there I create a local push to show the user it have something new while the global procedure it's executing.
the thing is:
Android:
I cant create a notifiction but this only show the name of the app it doesn't put the title and message I want and I put on my code:
NotifDelete
(
NotifLocal
)
NotifLocal
..
Title
=
"new message"
NotifLocal
..
Message
=
"new message."
NotifLocal
..
Deletable
=
True
NotifLocal
..
Content
=
"new message."
NotifAdd
(
Notif
)
I put the notifdelete to delete the previous one but it doesn't delete it I put the NofiLocal variable global just to see if it could work but nope.
iOS:
I have the exact same code on android to iOS but this one doesn't show anything, it execute the code of the global procedure of notifpushprocedure but it doesn't add the notification. I search on pcsoft help but it say that the only way to put a local notification it's with the event background of the app, but if my user it's using the app I want to show him he has some new info without using toastdisplay while my app it's running on foreground.
is it a way to add a notification with iPhone?
Thanks
--
Best Regards
Jose
Denunciar
0
0
→ Voltar para WINDEV Mobile 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versões anteriores)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Tipo de Pesquisa
Apenas tópicos
Todas as mensagens
Período de pesquisa
Qualquer momento
Última hora
Últimas 24 horas
Semana passada
Mês passado
Ano passado
Cancelar
Pré-visualização da sua mensagem
Adicionar imagem
Importar uma imagem de uma URL
Enviar uma imagem a partir do seu disco
Deixe um ficheiro ou clique em "Procurar ..."
ou
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto