Sqlite Db Copy

Contents

This plugin does something

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

Installation

ionic cordova plugin add cordova-plugin-dbcopy npm install @ionic-native/sqlite-db-copy

Supported Platforms

  • Android
  • iOS

Usage

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


constructor(private sqliteDbCopy: SqliteDbCopy) { }

...


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