Just made changes to a PhoneGap app to start using Web SQL to store a table containing multiple rows instead of just relying on localStorage. It tested out fine on PhoneGap Desktop. Then went to deply it on iOS through PhoneGap build and installed it on my iOS device. On this, none of the database stuff works. I did not see a plugin requirement for using Web SQL in any docs. Is there something I am missing to be able to use Web SQL on iOS with a PhoneGap app, or what is recommended for using a database?
- 16 Posts
- 0 Reply Likes
- sad
Posted 4 years ago
Petra V., Champion
- 7794 Posts
- 1391 Reply Likes
You may want to try
https://www.npmjs.com/package/cordova...
or a similar plugin as found here:
http://cordova.apache.org/plugins/?q=...
https://www.npmjs.com/package/cordova...
or a similar plugin as found here:
http://cordova.apache.org/plugins/?q=...
JesseMonroy650 (Volunteer), Champion
- 3325 Posts
- 122 Reply Likes
@Brian,
Since this appears to be your first posting, please answer the following questions.
- is this your first hybrid mobile app?
- are you using phonegap desktop app?
- Are you using CLI, Build or SDK? Please do not assume the answer. Please read the link.
Thanks
Jesse
Since this appears to be your first posting, please answer the following questions.
- is this your first hybrid mobile app?
- are you using phonegap desktop app?
- Are you using CLI, Build or SDK? Please do not assume the answer. Please read the link.
Thanks
Jesse
- 16 Posts
- 0 Reply Likes
What a mess.
Well I am testing under PhoneGap Desktop.
Then I copy the source changes into what I'd consider CLI (a GitHub local repository).
Then commit them to (GitHub remote repository), which is picked up by PhoneGap Build for installing on the device.
Hope that is clear.
Well I am testing under PhoneGap Desktop.
Then I copy the source changes into what I'd consider CLI (a GitHub local repository).
Then commit them to (GitHub remote repository), which is picked up by PhoneGap Build for installing on the device.
Hope that is clear.
- 16 Posts
- 0 Reply Likes
Oh yes, first app in PhoneGap, but have been testing it for a while. Just added the DB most recently.
JesseMonroy650 (Volunteer), Champion
- 3325 Posts
- 122 Reply Likes
@Brian,
okay, you cannot use Desktop directly with Phonegap Build, a cloud-based build service by Adobe/Phonegap. Please read the follow unpublished blog post.
Phonegap Desktop App - What it is and is not
Jesse
okay, you cannot use Desktop directly with Phonegap Build, a cloud-based build service by Adobe/Phonegap. Please read the follow unpublished blog post.
Phonegap Desktop App - What it is and is not
Jesse
- 16 Posts
- 0 Reply Likes
I'm not really using them directly. They are separate. I copy the html and js files from one to the other after testing.
... but I will take a look at the link you sent.
Also I think what Petra indicates is that I may need to use somethng like an SQLite plugin. I'll look at that too.
... but I will take a look at the link you sent.
Also I think what Petra indicates is that I may need to use somethng like an SQLite plugin. I'll look at that too.
JesseMonroy650 (Volunteer), Champion
- 3325 Posts
- 122 Reply Likes
Yes a plugin is need, but you cannot test that plugin with the Desktop. You will read that in the blog.
Jesse
Jesse
- 16 Posts
- 0 Reply Likes
It appears that Web SQL, with no plugin(s) involved, seems to work fine on Android and iOS. I proved this our with another app. So not quite sure what SQLite is needed for.
Related Categories
-
PhoneGap Build
- 15111 Conversations
- 275 Followers
-
Plugins
- 1283 Conversations
- 38 Followers
-
Programming (Others)
- 1167 Conversations
- 23 Followers


