Selects a provider for sending push notifications to applications.
| None | GeneXus Notifications using RemoteNotification external object (iOS Only and Deprecated). |
| JPush | JPush Notifications (China). |
| OneSignal | OneSignal Notifications. |
Generators: .NET, .NET Framework, Android, Apple, Java
Level: Generator
You can find this property in the Preferences window, for your Environment at the Backend Generator level.
None
Indicates that a custom notification mechanism is used. This mechanism is deprecated and remains valid only for Apple applications.
One Signal
When the OneSignal value is selected as the Notifications Provider, the following properties become available for configuration. These values are required to send push and silent notifications using OneSignal:
This is the recommended option for the whole World, but China.
For more information, read HowTo: Configure Push Notifications in Android Applications.
JPush
Uses JPush to send push and silent notifications through the Notification Provider API, using the configured 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.
These properties can be set dynamically at runtime using the Configuration object. For example:
&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 )
{{{39579| All configuration related to notifications sent from the server-side is centralized on the CloudServices.config file}}}
This property applies only at design time.
To apply the corresponding changes when the property value is configured, execute a Build All.
HowTo: Receiving and processing a notification message from an external app
HowTo: Configure Push Notifications in Android Applications