Table of contents



Official Content

Selects a provider for sending push notifications to applications.

Values

None GeneXus Notifications using RemoteNotification external object (iOS Only and Deprecated).
JPush JPush Notifications (China).
OneSignal OneSignal Notifications.

Scope

Generators: .NET, .NET Framework, Android, Apple, Java
Level: Environment

Description

This property is located in Preferences > Environment > Backend > Java / .NET  / .NET Framework > Services > Notifications configuration.

None
Custom mechanism that is deprecated. It is still valid only for Apple applications. 

One Signal
One Signal mechanism to send push and silent notifications using Notification Provider API with OneSignal settings.

  • App ID
    The application identifier provided by One Signal
  • REST API Key
    The application authority key provided by One Signal

This is the recommended option for the whole World, but China.

JPush
JPush mechanism to send push and silent notifications using Notification Provider API with Jiguang settings.

  • App Key
    The application identifier provided by JPush.
  • Master Secret
    Application master secret key provided by JPush to be able to use the REST services.
  • Channel
    Channel value for the application package, to get sub-channel statistics.
  • APNs for production
    (iOS only) Indicates if the production APNs certificate will be used or not.
  • NDK ABI Filters
    (Android only) ABIs that will be included in the Android application package.

This is the recommended option for China.

Runtime configuration

These properties can be set dynamically at runtime using the Configuration object. For instance: 

&ConfigurationProperty  = new()
&ConfigurationProperty.PropertyName = !"REST_API_KEY"
&ConfigurationProperty.PropertyValue = !"%oneSignal_Rest_ApiKey%"  
&Configuration.Properties.Add( &ConfigurationProperty )  
&ConfigurationProperty  = new()  
&ConfigurationProperty.PropertyName = !"APP_ID"
&ConfigurationProperty.PropertyValue = !"%appIdOneSignal%"  
&Configuration.Properties.Add( &ConfigurationProperty )

 

Note: All configuration related to notifications sent from the server-side is centralized on the CloudServices.config file.

Runtime/Design time

This property applies only at design time.

How to apply changes

To apply the corresponding changes when the property value is configured, execute a Build All.

Availability

This property is available since GeneXus 15.

See Also

HowTo: Receiving and processing a notification message from an external app

Last update: April 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant