PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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 the application (obtained beside Apple). This certificate may have been loaded by CertificateLoad.
<Server Type>: Integer constant
Type of server onto which the notification must 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.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230device.dll
Minimum required version
  • Version 19
This page is also available for…
Comments
Click [Add] to post a comment