android - How to implement pouchdb in cordova with an app packaged by webpack? -


i ask if knows how integrate pouchdb in cordova app? have created app in webpack/vue-cli , have successful run them in browser environment when try package app mobile development, seems database used (pouchdb) not working anymore. have tried googling every topic know implement logic no avail.

to give idea how developed app here steps:

  1. used vue-cli create boilerplate app. have used vuetify, vuex, , vue-router, pouchdb inside app.
  2. after developing app , run through browser(with database connection working), package app using npm run build of webpack create browser compatible distribution.
  3. then went create cordova project using cordova cli, , went www folder , replaced index.html webpack app.
  4. then ran webpack/cordova app, difference is not load data pouchdb database anymore if run cordova run browser command.

thank you


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -