Interface ISDKMigrationsConfiguration

Data migrations related configuration

interface ISDKMigrationsConfiguration {
    v4?: {
        customData?: boolean;
        customID?: boolean;
    };
}

Properties

Properties

v4?: {
    customData?: boolean;
    customID?: boolean;
}

SDK V4 migrations related configuration

Type declaration

  • OptionalcustomData?: boolean

    Whether Bath should automatically attach current installation's data (language/region/customDataAttributes...) to the User's Profile when running the SDK for the first time. Default: true

  • OptionalcustomID?: boolean

    Whether Bath should automatically identify logged-in user when running the SDK for the first time. This mean user with a custom_user_id will be automatically attached a to a Profile and can be targeted within a Project scope. Default: true