UserDefaultsPreferencesStorage

public class UserDefaultsPreferencesStorage : UnbluPreferencesStorage

Default implementation to store SDK preferences.

Uses the UserDefaults.standard of the app.

The values are not encrypted.

  • Constructs the preferences storage

    Declaration

    Swift

    public init()
  • Declaration

    Swift

    public func put(key: String, value: String?)
  • Declaration

    Swift

    public func get(key: String) -> String?