PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • WLanguage Procedure
  • Special cases
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
Disables the management of push notifications for a WINDEV Mobile application (Android or IOS).
Example
NotifPushDisable()
Syntax
NotifPushDisable([<WLanguage Procedure>])
<WLanguage Procedure>: Optional character string (with or without quotes)
Name of procedure called when the deactivation was performed.
iPhone/iPad This procedure is never called.
Remarks
Android

WLanguage Procedure

The WLanguage procedure called by NotifPushDisable has the following format:
<Procedure Name>(<Error>)
This procedure is called when the notification service has performed the deregistration of the application. This procedure must be used to notify the application server that the identifier associated with the application and with the device is not valid anymore.
The <Error> parameter is a character string filled with:
  • the error message if the request for deregistration failed,
  • an empty string in case of success.

Special cases

  • Android The device communicates with the Google Cloud Messaging (GCM) notification service by using the following ports: 5228, 5229 and 5230. Make sure that your firewall is configured accordingly.
  • Android If the Google Cloud Messaging notification service was not contacted during the call to NotifPushDisable (connectivity problem for example), the request for deregistration will be automatically repeated with an increasing time interval (up to 1 hour) until the request is successfully performed or until an error occurred. Therefore, a long time can exist between the call to NotifPushDisable and the call to the procedure passed in parameter.
Components
Android wd230android.jar
Minimum required version
  • Version 19
Comments
Click [Add] to post a comment