Setu-TS
    Preparing search index...

    FcmProvider implements PushTransport via the FCM HTTP v1 API.

    Authenticates with a short-lived OAuth2 bearer token minted from a service account (see FcmTokenSource), replacing the legacy serverKey API that Google decommissioned in 2024.

    const provider = new FcmProvider({
    projectId: 'my-firebase-project',
    clientEmail: 'fcm@my-project.iam.gserviceaccount.com',
    privateKey: config.get('FCM_PRIVATE_KEY'),
    runtime,
    });
    await provider.send({ to: deviceToken, title: 'Hello', body: 'World' });

    0.1.0

    Implements

    Index