Coder Social home page Coder Social logo

Comments (8)

an-rahulpandey avatar an-rahulpandey commented on May 29, 2024

Hi The plugin only works with Sqlite db on phone, it will not work on web browser with websql.

from cordova-plugin-dbcopy.

 avatar commented on May 29, 2024

Hey Rahul, thanks a lot for you answer, but I'm getting this error even when I run in my device.
It's seems that I can't use the methods...

Attached a screen shot of the problem taken with the USB debugging tool for Chrome.

screen shot 2016-11-02 at 10 48 43 am

from cordova-plugin-dbcopy.

an-rahulpandey avatar an-rahulpandey commented on May 29, 2024

Are you using sqlite database? The plugin is configured for sqlite db only.

from cordova-plugin-dbcopy.

 avatar commented on May 29, 2024

Ya, I'm using sqlite. It seems that the problem didn't reach the database yet, I can't even use the methods copy/remove from the plugin, I mean, it seems that I never added the plugin using the CLI, but I did it!

I'm wondering if you can share some code with a working DB to exemplify how it is used. Dunno if I'm asking a lot, I never made a mobile app before.

Thanks anyway for your kindly responses!

from cordova-plugin-dbcopy.

an-rahulpandey avatar an-rahulpandey commented on May 29, 2024

How are you running the app? using some IDE or CLI?

from cordova-plugin-dbcopy.

an-rahulpandey avatar an-rahulpandey commented on May 29, 2024

If you are using CLI make sure you have run cordova prepare android && cordova build android command.

from cordova-plugin-dbcopy.

an-rahulpandey avatar an-rahulpandey commented on May 29, 2024

Also does the config.xml inside platforms directory (platforms/android/res/) have sqlDB entry?

from cordova-plugin-dbcopy.

 avatar commented on May 29, 2024

Hey Rahul!

Got it working after following these instructions: https://github.com/ymochi/prepopulated-DB-for-hybrid-applications

It's working perfectly, thx a lot for your time and patience.

from cordova-plugin-dbcopy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.