react-native-adapty - v4.0.1
    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;
        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.

    prefetchProducts?: boolean

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

    productPurchaseParams?: ProductPurchaseParams