Skip to content

Commit 5bf30a2

Browse files
committed
Fix merge error
1 parent 596beeb commit 5bf30a2

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

versioned_docs/version-3.0/sdk-installation-ios.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -355,21 +355,10 @@ See more details on how to finish transactions in the [guide](ios-transaction-ma
355355

356356
### Clear data on backup restore
357357

358-
<<<<<<< HEAD
359-
When a user restores their app from an iOS backup, the Adapty SDK can detect this and automatically clear its cached data to start fresh. This prevents potential issues with duplicate profiles and ensures clean analytics data.
360-
361-
Enable this if you want to ensure a fresh SDK state after backup restoration. Keep it disabled (default) if you want to preserve SDK data when users restore from backups.
362-
363-
To enable automatic data clearing on backup restore, set `clearDataOnBackup` to `true`.
364-
365-
:::note
366-
This only clears the SDK's local cache. The user's actual purchases and subscriptions remain safe and are stored with Apple and in Adapty's servers.
367-
=======
368358
When `clearDataOnBackup` is set to `true`, the SDK detects when the app is restored from an iCloud backup and deletes all locally stored SDK data, including cached profile information, product details, and paywalls. The SDK then initializes with a clean state. Default value is `false`.
369359

370360
:::note
371361
Only local SDK cache is deleted. Transaction history with Apple and user data on Adapty servers remain unchanged.
372-
>>>>>>> ADP-5209
373362
:::
374363

375364
```swift showLineNumbers

0 commit comments

Comments
 (0)