storesafe / cordova-sqlite-storage

A Cordova/PhoneGap plugin to open and use sqlite databases on Android, iOS and Windows with HTML5/Web SQL API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is androidLockWorkaround option still needed?

brodybits opened this issue · comments

The androidLockWorkaround option was added back in early 2015, as a workaround for issue #193, and it only applies when the androidDatabaseProvider: 'system' (formerly androidDatabaseImplementation: 2) is used as documented.

This option has been a bit of a burden to maintain in the documentation which I have to synchronize from time to time between multiple plugin versions. I would like to deprecate and remove this option if it is no longer needed.

Adding to a couple of lists:

  • #922 - breaking changes coming in the near future
  • #923 - quirks & other issues such as corruption warnings

P.S. I did find an interesting resource here: https://en.wikipedia.org/wiki/Android_version_history

It shows Lollipop 5.0 - 5.1.x released in November 2014, soon before #193 was reported. And I am definitely not ready to drop Lollipop support anytime soon. I am starting to think it may be safest to keep this option until Android pre-6.0 support is removed.