Skip to content

Push Notifications

Non-Visible component
Category Requires Version
Social API 21, Android 5.0 Lollipop 6

Overview

A non-visible component that remotely sends notifications to the device.
Powered by OneSignal.

Permissions

Events

Got Available Tags

Event to detect available one signal tags.

Params
tags As String Text
tags As List List

Got Value

Event to receive value for a tag.

Params
tag Text
value Text

Notification Opened

User opened a notification.

Params
id Text
title Text
message Text

Notification Received

User received a notification.

Params
id Text
title Text
message Text

Send Message Done

Returns true if your message was send with success out of your app to all users.

Params
success Boolean

Methods

Clear All Notifications

Clear All Notifications.

Delete Tag

Deletes a single tag that was previously set on a user.

Params
key Text

Get Available Tags

Get a list of available tags.

Get Value

Get value for tag.

Params
tag Text
value If Tag Not There Text

Send Message

Send a message to all users. The message and your REST Api Key can not be empty! You will find your REST Api Key in your OneSignal account settings.

Params
title Text
message Text
rest API Key Text

Send Tag

Tag a user based on an app event of your choosing so later you can create segments in to target these users.

Params
key Text
value Text

Properties

Enable Log

Boolean ➖ Write - Blocks

If you want to enable the log then set it to true.

Enable Sound

Boolean ➖ Write - Blocks

Enable Sound.

Enable Vibration

Boolean ➖ Write - Blocks

Enable Vibration.

Get Email Subscription Email Address

Text ➖ Read - Blocks

Get the email subscription email address.

Get Email Subscription User Id

Text ➖ Read - Blocks

Get the email subscription user id.

Get Permission Status

Boolean ➖ Read - Blocks

Get Permission Status

Get Subscription Status

Boolean ➖ Read - Blocks

Get the subscription Status

Get User Id

Text ➖ Read - Blocks

Get the User ID. If there is no user id it will return '-1'.

OneSignal App ID

Text ➖ Write - Designer

Set here your One Signal App ID

Set Subscription

Boolean ➖ Write - Blocks

If you want to subscribe then set it to true.


Last update: November 9, 2022