Comments (8)
Hi The plugin only works with Sqlite db on phone, it will not work on web browser with websql.
from cordova-plugin-dbcopy.
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.
from cordova-plugin-dbcopy.
Are you using sqlite database? The plugin is configured for sqlite db only.
from cordova-plugin-dbcopy.
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.
How are you running the app? using some IDE or CLI?
from cordova-plugin-dbcopy.
If you are using CLI make sure you have run cordova prepare android && cordova build android
command.
from cordova-plugin-dbcopy.
Also does the config.xml inside platforms directory (platforms/android/res/) have sqlDB entry?
from cordova-plugin-dbcopy.
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)
- copyDbFromStorage: DB Not Present in www folder HOT 2
- Copy from a different folder HOT 3
- Issue with Android copyDbFromStorage HOT 3
- Issue when building Android for ionic HOT 2
- copyDbFromStorage seems to fail for Android 9 HOT 4
- I can't insert or update after copied HOT 1
- Build error in v 2.1.0 HOT 4
- Phonegap build failed with latest version (2.1.1) HOT 8
- copying on a usb storage HOT 1
- copyDbFromStorage copy Db to wrong path in Android 9 HOT 4
- customize output file name HOT 1
- What's error code: 400? HOT 2
- Issue on Android 9 *AFTER* succesfull copy on device HOT 1
- Playstore shows crashed Apps
- Ionic 4 problem copy database.db HOT 3
- Error during installation of plugin HOT 1
- error during plugin installation
- copy to device storage
- showing database already exists HOT 1
- Does sqliteDbCopy run on Capacitor? error:400 HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-plugin-dbcopy.