Hey all, hoping somebody can help. How can we chec...
# touchlab-tools
a
Hey all, hoping somebody can help. How can we check if an ios DB is encrypted? On Android it seems quite easy, we can do:
Copy code
try {
    val db = SQLiteDatabase.openDatabase(databasePath, "", null, SQLiteDatabase.OPEN_READWRITE)
    db.close()
} catch (exception: Exception) {
    return true
}
return false
However I'm not sure how to do this for the ios part on Kotlin Multiplatform. Any advice would be great, would help with the migration too