Enbbox Docs

Expo Push

Integrate Expo Push Notifications with Enbbox. Setup guide for sending push notifications to Expo-managed React Native apps.

Overview

Expo Push provides a unified push API for React Native / Expo apps on iOS and Android.

Setup

  1. In your Expo app, install expo-notifications and configure push
  2. Get the Expo Push Token from the device using Notifications.getExpoPushTokenAsync()
  3. In Enbbox: IntegrationsAdd ProviderPushExpo Push
  4. No API key needed for Expo's push service (it's free)
  5. Activate the integration
  6. Store device tokens in subscriber credentials:
import { SubscriberCredentialsApi, Configuration } from "@enbbox/api";

const config = new Configuration({ accessToken: "your-api-key" });
const credentialsApi = new SubscriberCredentialsApi(config);

await credentialsApi.setCredentials("subscriber-123", "expo", {
  credentials: { device_tokens: ["ExponentPushToken[xxxxx]"] },
});

On this page