FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV Mobile 2024
→
[WM23] Local notification
[WM23] Local notification
Débuté par ARV, 27 aoû. 2018 19:23 - Aucune réponse
Connectez-vous…
ARV
#1
Membre enregistré
498 messages
Popularité : +8 (8 votes)
Posté le 27 août 2018 - 19:23
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
Signaler
0
0
→ Revenir à WINDEV Mobile 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte