How import sqlite database in nativescript/angular android?



I’m trying to import the whole sqlite database intoapplication with a button click for a project (Import feature). I googled for the same, but seems negative response. I’m using plugin for this. Right now, I’m trying to reach it using java code with nativescript. Any nativescript way help will be appreciated. Thanks in advance.


Did you try copyDatabase?


I mean a clean import. Only schema will be there, we will try importing the back up data. Thanks for reply @manojdcoder


I think in that case you might want to write Java code or purchase the commercial version of plugin.


hmm, hope theres no nativescript way to achieve the same.