Your V-Play Sample Launcher App download has started!
This app allows you to quickly test and run all the open-source examples and demo games available with the V-Play SDK.
|Import Statement:||import VPlayPlugins 1.0|
Push Notifications are a great way to keep users engaged and inform users about updates in your app.
Set this property to the Google Project number of your Google Cloud Messaging project. See OneSignal Account for more information.
By default this is
false and notifications will not be shown when the user is in your app (the NotificationOpenedHandler is fired). If set to
notifications will be shown as native alert boxes if a notification is received when the user is in your app. The notificationReceived signal handler is then fired after the alert box gets closed.
Set a custom log level for debugging output. Possible values are:
The default log level is
This property defines how your app handles notifications on Android while your app is running in the foreground.
Set this property to
true to queue a new notification in the Android notification bar. The notification is delivered as soon as the user taps the notification (notificationReceived is called).
Set this property to
false to instantly deliver the notification, triggering notificationReceived.
The default value for this property is
Read-only property, providing the individual OneSignal user id after registering for push notifications. You can use this id to send push notifications to specific user devices.
notificationReceived(string message, variant additionalData, bool isActive)
Emitted after a notification was received, either when the app is in the foreground or when a user opens the app by tapping on a notification in the platform-specific notification center.
The message parameter contains the push notification's message.
The additionalData parameter is a map containing the payload of the received notification, which you can use for further actions (see Advanced Usages).
The isActive parameter is
true if the app was in the foreground when the notification was received, otherwise
void deleteTags(variant keys)
void sendTags(variant tags)
Voted #1 for: