Sqlite Db Copy

Contents

This plugin does something

https://github.com/an-rahulpandey/cordova-plugin-dbcopy

Stuck on a Cordova issue?

Installation

Community Enterprise
ionic cordova plugin add cordova-plugin-dbcopy npm install @ionic-native/sqlite-db-copy
Ionic EE comes with fully supported and maintained plugins from the Ionic Team. Learn More   or   Contact Us
ionic enterprise register --key=YOURPRODUCTKEY npm install @ionic-enterprise/sqlite-db-copy

Supported Platforms

  • Android
  • iOS

Usage

import { SqliteDbCopy } from '@ionic-native/sqlite-db-copy/ngx';


constructor(private sqliteDbCopy: SqliteDbCopy) { }

...


this.sqliteDbCopy.copy('sample.db', 0)
  .then((res: any) => console.log(res))
  .catch((error: any) => console.error(error));