Quantcast
Channel: WinDev Forum
Viewing all articles
Browse latest Browse all 1914

Notification iOS (NotifAdd)

$
0
0
Hello all,

At the moment I am struggling with the function NotifAdd.
I would like to notificate the user by use of a push notification when something particular in the database (Client server) changes.

For this manner I use the function NotifAdd which should fulfill my needs.
Got it working on Android. But when I try to use it on an iOS device, no notification pops up.

This is the simplified code I use for testing:
//// Automatic Procedure:
// The procedure is run manually, during a call in the code
// It will be repeated in loop, with a timeout set to 5 seconds between each call
// A new timer is created whenever the procedure is called

PROCEDURE GprPushNotification()
IF BellerAantal < HNbRec(F_beller) THEN
	BellerAantal = HNbRec(F_beller)
	notif is Notification
	notif..Message = "Gebeld"
	NotifAdd(notif)
END

Am I doing something wrong/forgetting something?

Regards,
Rik

Viewing all articles
Browse latest Browse all 1914

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>