Sending Test Messages

We recommend sending test messages first if you'd like to preview how push notifications appear on actual devices before sending them or need to categorize test devices among your team members.

Before you start: Have you subscribed to your device yet? Test messages can only be sent from devices that are already subscribed.

Please proceed once you've integrated with the FlareLane console and there is at least one subscribed device available.


Finding Your Device ID

Mobile Push

Once you create a push notification and it's active, you can check the device ID (shown as 'deviceId') on your PC.

Web Push

PC (Windows)

  1. Right-click on the subscribed webpage and click on Inspect.

Image by FlareLane
  1. Go to the Console in the bottom right corner, then run the following command to generate your device ID:

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

Mobile (Android)

After clicking the widget displayed on the site, click the Allow Notifications button 10 times to reveal the subscribed device ID.

Image by FlareLane

Adding Test Devices

On the test device page, enter the device ID from the above to add it as a test device, as shown below:

Image by FlareLane

Testing Messages

Click New Message to compose your message, then click on Send to Test Device, as shown below:

Image by FlareLane

Last updated