ping-identity
    Preparing search index...

    Ping Identity

    Ping Identity React Native Types

    The Types module defines shared, platform-agnostic TypeScript contracts used across the Ping Identity React Native SDK ecosystem. It contains types only and ships no runtime logic or native bindings.

    Add the package to your workspace:

    yarn add @ping-identity/rn-types
    
    • Types are serializable across the React Native bridge.
    • No native (Kotlin/Swift) constructs or platform-specific details.
    • Contracts describe expectations, not runtime behavior.

    Errors rejected from native modules should conform to this shape (re-exported from @forgerock/sdk-types):

    export interface GenericError {
    type: ErrorType;
    error: string;
    message?: string;
    code?: string | number;
    status?: string | number;
    }
    import type { GenericError, ErrorType } from '@ping-identity/rn-types';
    

    Feature modules should re-export or alias the shared error type instead of redefining it:

    import type { GenericError } from '@ping-identity/rn-types';

    export type BrowserError = GenericError;