Skip to content

Push notifications

Integrating push notifications in React Native requires setting up each native platform separately. Follow the respective guides listed to finish the installation.

Step 1: Complete native setup

Step 2: Test displaying push notifications

At this point, you should be able to send notifications to the devices. Adhere to the following steps to test your push integration.

  1. Set an active user in the React application by calling ReactAppboy.changeUserId('your-user-id') method.
  2. Head to Campaigns and create a new push notification campaign. Choose the platforms that you’d like to test.
  3. Compose your test notification and head over to the Test tab. Add the same user-id as the test user and click Send Test. You should receive the notification on your device shortly.

A Braze push campaign showing you can add your own user ID as a test recipient to test your push notification.

WAS THIS PAGE HELPFUL?
New Stuff!