Versions 22 and laterPlatform that will be used to send the notification. The Android application that will receive he notifications must have been configured for this type of platform.

npeFirebase

Firebase platform. New platform for sending push notifications. This platform must be used for the new projects (from WINDEV 22 Update 1) or for the projects that do not use the push notifications yet.

npeGCM(Default value)

Google Cloud Messaging platform. Former Google solution for sending push notifications. This platform must be used for the existing projects that already use the push notifications yet (projects created with a version earlier than WINDEV 22 Update 1)

New in version 22Platform that will be used to send the notification. The Android application that will receive he notifications must have been configured for this type of platform.

npeFirebase

Firebase platform. New platform for sending push notifications. This platform must be used for the new projects (from WINDEV 22 Update 1) or for the projects that do not use the push notifications yet.

npeGCM(Default value)

Google Cloud Messaging platform. Former Google solution for sending push notifications. This platform must be used for the existing projects that already use the push notifications yet (projects created with a version earlier than WINDEV 22 Update 1)

Platform that will be used to send the notification. The Android application that will receive he notifications must have been configured for this type of platform.

npeFirebase

Firebase platform. New platform for sending push notifications. This platform must be used for the new projects (from WINDEV 22 Update 1) or for the projects that do not use the push notifications yet.

npeGCM(Default value)

Google Cloud Messaging platform. Former Google solution for sending push notifications. This platform must be used for the existing projects that already use the push notifications yet (projects created with a version earlier than WINDEV 22 Update 1)

Remarks

The push notification is sent to a notification service (Apple or Google) that redistributes this notification to a set of mobile devices.

The notifications sent to the Android devices take into account the proxy defined by Proxy.

The notifications sent to the devices running iOS are direct (they do not transit via the proxy).

The Apple service allows 256 bytes of data per notification only. Therefore, pay attention to the amount of data sent in the Notification variable (the message for example) to avoid exceeding this limit. An error will occur if the limit is exceeded.

The connection to the APN server may fail if two notifications are sent in a very short time interval (if the server is still processing the first message).

To send push notifications on the iOS devices, the application must be able to access the ports 2195 and 2196 in TCP.

Related Examples:

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.