PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

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
Specifies the WLanguage procedure called when a push notification is received by a WINDEV Mobile application (Android or iOS).
Note: This function must be called in the initialization process of project as the notifications can be received at any time of the application lifetime or when the application is started further to the reception of notification.
Example
// Project initialization
NotifPushProcedure(callNotif)
PROCÉDURE callNotif(MyNotif is Notification)
Info("Notification received: " + MyNotif..Message)
Syntax
NotifPushProcedure(<WLanguage Procedure>)
<WLanguage Procedure>: Character string (with or without quotes)
Name of the procedure that will be called when a push notification is received. This procedure must be a global procedure of application in the following format:
PROCEDURE <Procedure Name>(<Notification> is Notification)
where <Notification> is a Notification variable corresponding to the notification sent by NotifPushSend.
Related Examples:
Android Push Cross-platform examples (WINDEV Mobile): Android Push
[ + ] This example explains how to receive Push notifications on Android.

It calls the PushNotifActive function and returns the identifier to the WINDEV "WD Push Server" example that stores it.

Then, this identifier is read by the WINDEV "WD Send Push" example that sends the Push notifications to this Android example.
iOS Push Cross-platform examples (WINDEV Mobile): iOS Push
[ + ] This example explains how to receive Push notifications on iOS.

It calls the PushNotifActive function and returns the identifier to the WINDEV "WD Push Server" example that stores it.

Then, this identifier is read by the WINDEV "WD Sending Push" example that sends the Push notifications to this iOS example.
Components
Android wd230android.jar
Minimum required version
  • Version 19
Comments
Click [Add] to post a comment