Profile data migration
batch.setConfig({
iOSAPIKey:"<YOUR_IOS_APIKEY>",
androidAPIKey:"<YOUR_ANDROID_APIKEY>",
migrations: {
// Whether Batch 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 could be targeted within a Project scope.
profileCustomIdMigrationEnabled: false,
// Whether Batch should automatically attach current installation's data (language/region/customDataAttributes...)-->
// to the User's Profile when running the SDK for the first time.
profileCustomDataMigrationEnabled: false,
}
});
batch.start();Last updated

