Rovenue React Native SDK
    Preparing search index...

    Interface FunnelPresentResult

    What presentFunnel resolves with.

    interface FunnelPresentResult {
        answers: Record<string, unknown>;
        customerInfo?: PurchaseResult;
        lastError?: RovenueError;
        photos: Record<string, FunnelPhotoRef>;
        preselected: string[];
        purchased: boolean;
        reason?: string;
        result: "completed" | "dismissed" | "unavailable";
    }
    Index
    answers: Record<string, unknown>

    The visitor's answers by question key: every key the funnel wrote — answers, set_variable results and app values — exactly as a web funnel's claim carries them (FunnelClaimResult.funnelAnswers). Empty when nothing was presented or nothing was answered.

    customerInfo?: PurchaseResult

    The entitlements and balances after the purchase; set whenever purchased is true.

    lastError?: RovenueError

    The last purchase or restore failure the SDK saw.

    photos: Record<string, FunnelPhotoRef>

    The photos the visitor answered photo_upload questions with, by question key — files on the device, kept until releasePhoto or 7 days. Empty when there were none.

    preselected: string[]

    The question keys an app value preselected and the visitor left unchanged, so a default can be told from a choice (the claim's funnelPreselected). Empty when none.

    purchased: boolean

    Whether a purchase or restore succeeded while it was presented.

    reason?: string

    Why nothing was presented: alreadyPresented, noPresenter, or the placement's unavailable reason.

    result: "completed" | "dismissed" | "unavailable"

    How it ended: finished (or closed after a purchase), closed by the visitor, or never presented.