react-native-adapty - v4.0.3
    Preparing search index...

    Interface CreateFlowViewParamsInput

    Additional options for creating a flow view

    interface CreateFlowViewParamsInput {
        android?: { enableSafeArea?: boolean };
        customAssets?: Record<string, AdaptyCustomAsset>;
        customTags?: Record<string, string>;
        customTimers?: Record<string, Date>;
        loadTimeoutMs?: number;
        locale?: string;
        prefetchProducts?: boolean;
        productPurchaseParams?: ProductPurchaseParams;
    }
    Index

    Properties

    android?: { enableSafeArea?: boolean }

    Type Declaration

    • OptionalenableSafeArea?: boolean

      When true, the flow view applies safe-area paddings.

      android

      When omitted, the default is decided by the presenting API you use.

    customAssets?: Record<string, AdaptyCustomAsset>
    customTags?: Record<string, string>

    If you are going to use custom tags functionality, pass an object with tags and corresponding replacement values

    {
    'USERNAME': 'Bruce',
    'CITY': 'Philadelphia'
    }
    customTimers?: Record<string, Date>

    If you are going to use custom timer functionality, pass an object with timer ids and corresponding dates the timers should end at

    loadTimeoutMs?: number

    This value limits the timeout (in milliseconds) for this method.

    locale?: string

    The identifier of the localization to render the flow with, e.g. en, es, fr.

    When undefined, en is requested rather than the flow's default localization. If the requested localization does not exist, the flow's default localization is used.

    FlowEventView.locale — the localization the view was actually built with.

    prefetchProducts?: boolean

    true if you want to prefetch products before presenting a flow view.

    productPurchaseParams?: ProductPurchaseParams