ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Specific Mobile functions / Functions for phone management
  • Overview
  • The different steps
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
Overview
From WINDEV Mobile 22 Update 1 (version 220052), the Push notifications in Android are using the Firebase platform (instead of Google Cloud Messaging).
To use the Firebase platform, you must own a Google account and you must perform a specific configuration.
This help page presents the different operations to perform.
The different steps
The different steps are as follows:
1. Creating a Firebase project
The Firebase project is created from the Firebase console, accessible from the following address: https://console.firebase.google.com/
Firebase home screen
Note: You also have the ability to import a Google API Project (used to send push notifications by GCM) from this console.
2. Adding Firebase to the Android application
  • Click the "Add Firebase to your Android application" button.
    Add Firebase to the application
  • Fill the package name of the application with the one defined in the Android generation wizard.
    Add Firebase to the application
  • Click the "Add an application" button.
  • Click "Continue" then "Done".
3. Download the "google-services.json" file.
  • Display the parameters of your application:
    Application parameters
  • In the section regarding the Android application, download the "google-services.json" file.
    Download the configuration file
This file must be supplied in the wizard for generating the application:
Wizard for Android generation
4. Retrieving the server key. This key is required to send Push notifications.
  • Click the "Cloud Messaging" tab.
  • Copy the identifier of server key.
    Server key
    This key number must be given in parameter to NotifPushSend.
Minimum version required
  • Version 22
Comments
Wizard window not longer available
The wizard window for generating the application showed here does not appear in the windev mobile v25
Angel
24 Sep. 2020

Last update: 10/26/2018

Send a report | Local help