Push Notification Actions

Get Expo Push Token

This Action will return the device's Expo Push Token. This token can be used to to send notifications to the specific device using Expo's Push API. Typically, you would store the Expo Push Token in your database - on the user record for instance.

Parameter

Description

Failure Message

The message shown to the user when the Action fails, such as if the user is offline or in airplane mode.

Default: "Failed to get push token for push notification!"

Device Message

The message when not run from a physical device, such as an emulator.

Default: "Must use physical device for Push Notifications"

Result

The name of the variable to assign to the result which is an Expo Push Token as a String. You can use this variable to store the token in your database, for instance.

Get Notification Count

You can get your apps notification badge count using this Action

Parameter

Description

Result

Gets the current notification badge count. See docs for more

Set Notification Count

You can set your apps notification badge count using this Action

Paramter

Description

Input

Sets the current notification badge count.

Result

Gets the current notification badge count. See docs for more


Did this page help you?