storesafe/cordova-sqlcipher-adapter

Very slow on Android 7, 8 but working fine on Android 9 and 10

azn1viet opened this issue · 1 comments

I got the same app which is testing against Android 7,8,9,10. I got insert like 4000 batch records each time.
While Android 9,10 is running fine each batch took about 10 seconds;
Android 7 took 30 seconds and Android 8 took 2-3 mins.

The older version 0.1.9 was inserting exact the same mount of time Android 9, 10 currently do for Android 7, 8. But Google has rejected older Cordova compilation for Cordova Android 6.4.0 and below. We must upgrade to Cordova Android 8. Eventually, I can't use 0.1.9 nor 0.2.1 to run the app due to incompatibility.

Not sure if those info confused you, but the latest 4.1.0 (or you said 4.2.0, but the version is still 4.1.0) is very slow on Android 7, 8 from 10 seconds to 3 mins for 4k records.

Could any one share experience if it's degraded performance on Android 7, 8?

Not sure what the issue was but I reverted the plugin to version 0.2.1 and it's working well on all Android versions.