I saw some reports that the UI will be blocked when large batches of data are being loaded into the database. This problem cannot be solved properly without introducing worker threads. The workaround is to setup a timer mechanism that saves the data in small pieces and reports by callback when it is done.
A solution by using either a timer mechanism or worker threads can be done equally well in the user code, outside the SQLitePlugin Javascript code.
I saw some reports that the UI will be blocked when large batches of data are being loaded into the database. This problem cannot be solved properly without introducing worker threads. The workaround is to setup a timer mechanism that saves the data in small pieces and reports by callback when it is done.
A solution by using either a timer mechanism or worker threads can be done equally well in the user code, outside the SQLitePlugin Javascript code.