Sqlite Db Copy


This plugin does something



If you're building a serious project, you can't afford to spend hours troubleshooting. Ionic's experts offer official maintenance, support, and integration help.

Contact Us Today!

Ionic 数据库Sqlite Db Copy插件的安装(Installation)

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

Ionic 数据库Sqlite Db Copy插件支持的平台(Supported Platforms)

  • Android
  • iOS

Ionic 数据库Sqlite Db Copy插件的用法(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));