withAppleClearDataOnBackup method

void withAppleClearDataOnBackup(
  1. bool appleClearDataOnBackup
)

Parameters:

  • clearDataOnBackup: A boolean value controlling whether the SDK will create a new profile when the app is restored from an iCloud backup

Implementation

void withAppleClearDataOnBackup(bool appleClearDataOnBackup) {
  _appleClearDataOnBackup = appleClearDataOnBackup;
}