PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Returns the list of invalid identifiers for the Apple APN service.
Note: We recommend that you call this function once or twice every day (via a scheduled task for example).
Example
MyCertificate is Certificate = CertificateLoad("applecertif.cer")

let MyInvalidIdentifiers = NotifPushListInvalidIdentifiers(MyCertificate, ...
typeServiceIOSTest)
FOR i = 1 _TO_ MyInvalidIdentifiers..Occurrence
// Delete MyInvalidIdentifiers[i] from the server
END
Syntax
<Result> = NotifPushListInvalidIdentifiers(<Certificate> , <Server type>)
<Result>: Array of buffers
Name of the array of buffers into which the list of invalid identifiers is returned.
<Certificate>: Certificate variable
Name of the Certificate variable corresponding to the identification parameter of the application on the APN service.
This variable represents the certificate for the push notifications of application (obtained beside Apple). This certificate may have been loaded by CertificateLoad.
<Server type>: Integer constant
Type of server onto which the notification will be sent:
typeServiceIOSTestServer of IOS test (APN).
typeServiceIOSReleaseServer of IOS release (APN).
Related Examples:
WD Send Push Cross-platform examples (WINDEV Mobile): WD Send Push
[ + ] This example is used to send push notifications on Android and iOS devices.

It retrieves the identifiers of the mobile devices in the HFSQL database of the "WD Push Server" example then it sends the notifications via NotifPushSend.
Component : wd240device.dll
Minimum version required
  • Version 19
This page is also available for…
Comments
Click [Add] to post a comment