Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
"Cordova is not available" when running in web browser #1289
Short description of the problem:
Hi, I am here on ionic-cli 3.13.2 and see the following warnings:
What behavior are you expecting?
Steps to reproduce:
Which @ionic/app-scripts version are you using?
@n0mer - the
OK, cool. Note that we generally do not suggest using the Cordova browser platform in general and rather suggest working around the fact that you do not have Cordova plugins in the browser by using native web APIs when Cordova is not present as outlined in the "Plugins" section of this document: https://ionicframework.com/docs/developer-resources/desktop-support/
But if using that platform works for you for testing, have at it.
I just faced this problem when using SQLite but I think is a general error dealing with cordova plugins. I found this and it worked like a charm.
I'm testing on an android device.