简体   繁体   中英

Upgrading app from cordova-plugin-sqlite-2 to nativescript-sqlite

I have a published hybrid app ( Phonegap/Cordova based ), which uses cordova-plugin-sqlite-2 to store data (7 tables), and a lot of downloaded images in a local folder. This is the 1.1 release version.

Now I'm rewriting it to version 2.0, using NativeScript, but I need to use the installed database (the one from version 1.1).

What do I need to configure? Is it possible to test in the debug mode (I mean in a real device that has the released/published version 1.1 installed , then I would like to install debug version 2.0 and use the same database)? If that's not possible in debug mode, is it in the release one?

There is a SQLite plugin for NativeScript as well.

Here is a link to an article on using SQLite with NS, this article also links to the plugin used.

https://www.thepolyglotdeveloper.com/2016/04/use-sqlite-save-data-telerik-nativescript-app/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM