HomeDocumentationAPI Reference
Getting StartedAPI ReferenceBug ReportingCrash ReportingAPMHelp Center

Encrypt User Defaults

This API allows you to set whether data stored by the SDK in user defaults should be encrypted or not. Values stored in user defaults are encrypted by default. Set this property to false to override this behavior and store values as plaintext instead.


App Launch Time

While the impact of the SDK on app launch time is minimal, setting this property to false will reduce it even further, at the tradeoff of storing some data locally as plaintext.

Instabug.userDefaultsEncryptionEnabled = false
Instabug.userDefaultsEncryptionEnabled = NO;