jeudi 24 décembre 2015

PhoneGap/Cordova iOS SQLite plugin background processing

I am developing an iOS app using PhoneGap using Cordova-SQLitePlugin plugin for database. Here is the link for the plugin. Cordova-SQLite Plugin

When I run my app on XCode(on my iPhone), it shows me a warning.

THREAD WARNING: ['SQLitePlugin'] took '17.644287' ms. Plugin should use a background thread.

However, the README page of plugin under the "Know issues" section says

For iOS version: There is a memory leak if you use this version with background processing disabled. As a workaround, the iOS version has background processing enabled by default.

That means the plugin is using background processing by default. Do I still need to look into the THREAD WARNING? or is it fine and I can safely continue developing my application.

Aucun commentaire:

Enregistrer un commentaire