PRAGMA cipher_profile on Android

Could community help and explain how I can access sqlcipher profile logs on Android?

I added to database hook following query
database.rawExecSQL(“PRAGMA cipher_profile=’” + name + “.log’;”);
where name is absolute path in the system but I could not see any generated logs.


Hello @raiym

It appears there is an issue with capturing the profile output to a file on the Android platform. In the interim, you can set cipher_profile to use stdout, then redirect stdout to logcat for your emulator or rooted device.

@developernotes thank you for answer