PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
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.
Remark: 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_ MesIdentifiersInvalid.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 (obtained from Apple) for the application push notifications. 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_Push_Server Cross-platform examples: WD_Push_Server
[ + ] This example is a webservice used to store the identifiers required to sent Push notifications to mobile devices.
The "WM Push" application stores the Push identifiers in the database of this example.
The "WD Send Push" example then reads these identifiers in order to send the notifications.
Component: wd260device.dll
Minimum version required
  • Version 19
This page is also available for…
Comments
Click [Add] to post a comment