Enbbox Docs

Push Channel

Send push notifications via Firebase Cloud Messaging and APNs using the Enbbox Framework. Define push content in TypeScript with payload customization.

Push Step

await step.push("delivery-update", async () => ({
  title: "Package Delivered",
  body: `Your order #${payload.orderNumber} has been delivered!`,
  data: {
    orderId: payload.orderId,
    screen: "order-detail",
  },
}));

Push Options

OptionTypeDescription
titlestringPush notification title
bodystringPush notification body
dataobjectCustom data payload for app handling

Setup

Push notifications require:

  1. A configured push provider (FCM, APNs, or Expo Push)
  2. Subscriber device tokens registered via the SDK
  3. The integration activated in your project settings

See Integrations for provider setup.

On this page