FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 2024
→
WM Push Notifications and code execution
WM Push Notifications and code execution
Débuté par Ruben Sanchez Peña, 07 juin 2017 14:52 - 2 réponses
Connectez-vous…
Ruben Sanchez Peña
#1
Posté le 07 juin 2017 - 14:52
Hi. I need implement the code automatic execution when device receive the Push Notification. The notification is received in device and i need call to a function to data update. At the moment i can receive the notification but i must punh on it to execute the call to procedure.
Is it posible automatice it?
I have tried other methods to schedule the process (persistent thread, device alarm libraries, ...) but i think the Push Notification is the more secure, simple and useful.
Thanks in advance.
Rubén Sánchez Peña
Signaler
0
0
ARV
#2
Membre enregistré
498 messages
Popularité : +8 (8 votes)
Posté le 08 mars 2019 - 22:59
Hi Ruben
Maybe you solve this issue but....
to execute the procedure at the moment you recieve it it's only send it with out Title and Message
Like that the procedure that it's called for pushProcedure it will execute.
Now the notification it won't appear and you need to code it yourself to appear one for local.
Ok then it only works if the app it's on foreground, on Background the app on Android it will be launch out of nowhere.
for iPhone well... works great on foreground but the local procedure doesn't appear and if it's on background nothing change and it won't execute the procedure...
hope this help... and I have this issue about the foreground and background...
--
Best Regards
ARV
Signaler
0
0
REVOLUTIONCHAIN
#3
Membre enregistré
12 messages
Posté le 27 janvier 2020 - 00:30
No solution yet? Facing the same issue...
It should be something like:
- IF WinStatus(mywin) = Active THEN Procedure()
Signaler
0
0
→ Revenir à WINDEV 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