data class SqlcipherConfig(password: String, licenseCode: String?)

Config class for using sqlcipher. For these cases, SendbirdChat.init fails and InitResultHandler.onInitFailed will be called.

  1. No sqlcipher binaries. We don't contains sqlcipher's binary so you should manually declare the dependencies. Please refer sqlcipher's documentation to see how can you declare the sqlcipher dependencies.

  2. Wrong license code

  3. Wrong password




Link copied to clipboard
fun SqlcipherConfig(password: String, licenseCode: String? = null)


Link copied to clipboard
val licenseCode: String? = null

The license code for use commercial or enterprise version of sqlcipher. If you use community version, then you don't need to set this property

Link copied to clipboard
val password: String

The password used for encryption.