@adapty/capacitor - v3.10.0-beta.1
    Preparing search index...

    Interface ActivateParamsInput

    Describes optional parameters for the activate method.

    interface ActivateParamsInput {
        __debugDeferActivation?: boolean;
        __ignoreActivationOnFastRefresh?: boolean;
        activateUi?: boolean;
        android?: { adIdCollectionDisabled?: boolean };
        backendBaseUrl?: string;
        backendConfigsBaseUrl?: string;
        backendFallbackBaseUrl?: string;
        backendProxyHost?: string;
        backendProxyPort?: number;
        backendUABaseUrl?: string;
        customerUserId?: string;
        ios?: { idfaCollectionDisabled?: boolean };
        ipAddressCollectionDisabled?: boolean;
        lockMethodsUntilReady?: boolean;
        logLevel?: LogLevel;
        mediaCache?: AdaptyUiMediaCache;
        observerMode?: boolean;
        serverCluster?: "default" | "eu" | "cn";
    }
    Index

    Properties

    __debugDeferActivation?: boolean

    Does not activate SDK until any other method is called Fixes annoying iOS simulator auhtentication

    __ignoreActivationOnFastRefresh?: boolean

    Ignores multiple activation attempts on fast refresh. If true, skips activation if SDK is already activated.

    activateUi?: boolean
    android?: { adIdCollectionDisabled?: boolean }

    Type Declaration

    • OptionaladIdCollectionDisabled?: boolean

      Disables Google AdvertisingID collection

      false
      
    backendBaseUrl?: string
    backendConfigsBaseUrl?: string
    backendFallbackBaseUrl?: string
    backendProxyHost?: string
    backendProxyPort?: number
    backendUABaseUrl?: string
    customerUserId?: string

    User identifier in your system

    If none of the parameters are passed, the SDK will generate an ID and use it for a current device. Use your own ID:

    1. If you want to support a cross-device experience
    2. If you have your own authentication system, and you want to associate adapty profile with your user
    ios?: { idfaCollectionDisabled?: boolean }

    Type Declaration

    • OptionalidfaCollectionDisabled?: boolean

      Disables IDFA collection

      false
      
    ipAddressCollectionDisabled?: boolean

    Disables IP address collection

    false

    lockMethodsUntilReady?: boolean

    Locks methods threads until the SDK is ready.

    false

    Turned on by default

    logLevel?: LogLevel

    Log level for the SDK

    Logging is performed on a native side. So you are expected to watch logs in Xcode or Android Studio.

    mediaCache?: AdaptyUiMediaCache
    observerMode?: boolean

    Turn it on if you handle purchases and subscription status yourself and use Adapty for sending subscription events and analytics

    false

    serverCluster?: "default" | "eu" | "cn"