ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Mobile specific functions / Phone functions
  • WLanguage procedure
  • Special cases
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
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 procedure name
Name of the WLanguage 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 as parameter.
Business / UI classification: Business Logic
Component: wd290android.jar
Minimum version required
  • Version 19
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help