Member Junction
    Preparing search index...

    Credentials for the Expo Push provider. Extends ProviderCredentialsBase to support per-request credential override.

    All fields are optional. The Expo Push API can be called anonymously; supplying an accessToken simply raises rate limits and enables enhanced push security. The provider therefore degrades gracefully when no token is available.

    interface ExpoPushCredentials {
        accessToken?: string;
        disableEnvironmentFallback?: boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    accessToken?: string

    Optional Expo access token used as a Bearer token for higher rate limits.

    disableEnvironmentFallback?: boolean

    When true, environment variable fallback is DISABLED for this request. If credentials are incomplete and this is true, the request will fail rather than falling back to environment variables.

    false (fallback enabled for backward compatibility)
    
    // With fallback (default) - uses env var if apiKey not provided
    await provider.SendSingleMessage(message, {});

    // Without fallback - fails if apiKey not provided
    await provider.SendSingleMessage(message, {
    disableEnvironmentFallback: true
    });