Comments (8)
Unfortunately I really cannot make any explanation from the screencast and am very busy to prepare for travel tomorrow morning. It would be best if you can try the following:
Make a fresh, clean project with this plugin and nothing else, without Ionic/Angular/ngCordova and do a simple test to load a pre-populated database and test a simple query.
Then make another fresh project with Ionic/Angular and this plugin but nothing else and do the simple test again.
Then you can start adding one thing at a time until you see when it goes wrong.
Thanks!
from cordova-sqlite-ext.
I have an error installing cordova-sqlite-ext after create the Windows "Universal" (8.1) project using litehelpers / cordova-windows-nufix
See please: http://screencast.com/t/GrgfeI320
from cordova-sqlite-ext.
More tests, see please: http://screencast.com/t/n3tzK8wtE
See the statement => http://screencast.com/t/9HRayH2P
Thanks in advance
from cordova-sqlite-ext.
Hi Nicholls,
it seems that you are using pre-populated database in windows Universal.
Perhaps I've found something...
In \plugins\cordova-sqlite-ext\src\windows\SQLiteProxy.js Line 61 there
is a hardcoded databasename "pre.db"
. As stated in the readme.md:
"The pre-populated database file name must match exactly the file name given in openDatabase"
I think that here has to be placed the given database name.
So the line has to be:
var sourceUri = new Windows.Foundation.Uri("ms-appx:///www/" + dbname);
So you can test in two ways. Rename your database in the www folder and in openDatabase
to "pre.db
" or change the line 61.
Hope this helps.
from cordova-sqlite-ext.
@jocheng Excellent my friend!! Thanks for your help! 👯
from cordova-sqlite-ext.
In
\plugins\cordova-sqlite-ext\src\windows\SQLiteProxy.js
Line61
there
is a hardcoded databasename "pre.db
".
Thanks @jocheng, you are absolutely correct and this should be really easy to fix. Unfortunately I cannot test a solution until I return from vacation in early January. If someone can test and raise a fix, I would be happy to merge it. (Please raise the fix from I new branch since I would probably git cherry-pick
it.)
from cordova-sqlite-ext.
In
\plugins\cordova-sqlite-ext\src\windows\SQLiteProxy.js
Line61
there
is a hardcoded databasename "pre.db
".
The fix is applied, closing.
from cordova-sqlite-ext.
Cool! 👯
from cordova-sqlite-ext.
Related Issues (20)
- [Feature Request] Please add an ability to read pre-populated db file which is encrypted by SQLCipher HOT 1
- New android apk does not update the device db. Is this normal? HOT 2
- IOS Shared App Group, how to? HOT 2
- issues in windows UWP HOT 2
- update populated database HOT 1
- cascading selects HOT 1
- Any plans to support the sqlite spatial extensions? HOT 2
- Cordova IOS insert/select out of column order. HOT 1
- Failed added plugin to [email protected] HOT 3
- Getting error while building after adding [email protected] HOT 1
- any reports of hangs with [email protected] and later ? HOT 9
- Cannot Open pre populated database. HOT 1
- Background thread per db
- Using the plugin with Ionic v4/v5
- Support for Android SDK v30 HOT 21
- DB not opening on oneplus7t Pro, Vivo V2050, RealMe 7i HOT 2
- Could not open database
- Query with RENAME breaks on Android 8, 9 and 10, but only with new versions HOT 1
- Google API Level 33 support HOT 1
- adding support electron
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-sqlite-ext.