Skip to content

Test send

You can check the device ID (deviceId) when you build and launch the app on a developer machine.

On the home page you subscribed from, right-click and select [Inspect].

Browser DevTools opened via right-click Inspect on the subscribed page

In the [Console] in the right-hand panel, run the following command. The random number that is printed is your device ID.

FlareLane.getDeviceId(id => console.log(id))

Console output showing FlareLane device ID after running getDeviceId command

Click the widget on the site, then click the "Subscribe to push notifications" button 10 times to reveal the subscribed device's ID.

Mobile web widget revealing subscribed device ID after tapping button 10 times

Add a test device on the Test Devices page. You can add a test device in two ways.

  • If a user ID is linked, you can find and add a device by its user ID
  • You can add it using the device ID you found above

Adding a test device by user ID or device ID in the FlareLane console

On the "New Message" page, enter your message, then send it using "Send to test device" below the "Preview."

Send to test device button below the preview on the new message page