Cordova plugins are not supported in the simulator, this information is available in the Add and Configure Plugins
help article. So when you're in the simulator, the built-in WebSql is used instead and the console log message you get is correct.
About the exception - constraint failed usually indicates that you did something like pass a
value into a column that you declare as
when you create your table. If this is not it, you can use the suggestion from this forum
to identify the problematic constraint.
Looking for tips & tricks directly from the Icenium team? Check out our blog!
Share feedback and vote for features on our Feedback Portal.