Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70429

Cordova Sqlite plugin problems

$
0
0

@lawlesscreation wrote:

I'm at a loss and hoping someone can give me some steer on where to go next...

I've followed this guide for using cordova sqlite in Ionic 2:

All seems to work when testing in Chrome using Ionic serve but when running my app in the iOS simulator or running the .ipa file on my phone it doesn't seem to work. I've tried opening the project in xcode and debugging the simulator with Safari but I cannot see any errors in the xcode log but there doesn't seem to be a storage db in Safari listed or a db anywhere on my file system.

I'm at a loss of where to go next. I've tried looking for examples online but there doesn't seem to be an example app using the cordova sqlite and Ionic 2... the ones that do seem to use the Ionic 2 sqlstorage instead.

I guess my question is, firstly, should I switch to using sqlstorage in Ionic 2, would this be better in the long run? Or should I persist with the cordova sqlite plugin and if so how should I attempt to debug the simulator/running app?

Any tips would be greatly appreciated!

Posts: 6

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 70429

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>