Skip to content

createExpoPushGateway — @gj-kit/nest-notifications

A public function from @gj-kit/nest-notifications/expo. The signature below is taken directly from the 0.1.1 release declaration.

import { createExpoPushGateway } from '@gj-kit/nest-notifications/expo';
/**
* Builds a {@link NotificationPushGateway} over an injected send callback.
*
* Locally malformed addresses come back as `rejectedEndpointIds`, never merged
* into the provider-confirmed `invalidEndpointIds` (design 0.2-6). A transport
* failure is absorbed into `accepted: false` rather than thrown, and a partial
* chunk failure re-sends the whole delivery on the next pass — the concrete cost
* of at-least-once (design 3.1 F4).
*/
declare function createExpoPushGateway(options: ExpoPushGatewayOptions): NotificationPushGateway;

This declaration is the source of truth for parameters, optionality, generics, return values, and public union/type contracts. Check the package golden path and this subpath’s import conditions for required environment, permission, and error boundaries before calling it.

  • Package: @gj-kit/nest-notifications
  • Version: 0.1.1
  • Public entry: ./expo
  • Source: GitHub