While updating to the latest nightlybuild (805), when launching my app on desktop (browser), I got this:
Error: [$injector:unpr] Unknown provider: $cordovaProvider
http://errors.angularjs.org/1.3.4/$injector/unpr?p0=%24cordovaProvider
at http://localhost:8100/lib/ionic/js/ionic.bundle.js:7300:12
at http://localhost:8100/lib/ionic/js/ionic.bundle.js:11187:19
at getService (http://localhost:8100/lib/ionic/js/ionic.bundle.js:11334:39)
at Object.invoke (http://localhost:8100/lib/ionic/js/ionic.bundle.js:11366:13)
at runInvokeQueue (http://localhost:8100/lib/ionic/js/ionic.bundle.js:11281:35)
at http://localhost:8100/lib/ionic/js/ionic.bundle.js:11290:11
at forEach (http://localhost:8100/lib/ionic/js/ionic.bundle.js:7559:20)
at loadModules (http://localhost:8100/lib/ionic/js/ionic.bundle.js:11271:5)
at createInjector (http://localhost:8100/lib/ionic/js/ionic.bundle.js:11197:11)
at doBootstrap (http://localhost:8100/lib/ionic/js/ionic.bundle.js:8671:20)
I’m suffering terrible from the same issue. Please will you (or someone) tell exactly what the fix is? What do we have import instead of $cordova or $cordovaProvider? Thanks!
Actually, what I trying to do is to get this recipe to work (as I need to access some other native Android code from Ionic, but I think that It’s better to start with something simple):
Hi Michael (also if others know about this then please answer)
Are you sure that it’s only possible if I use the $cordovaFacebook plugin. I can’t see that my app has anything to do with Facebook, as I only need to access my own Android code?
Thanks for your reply. I’ve found that to solve my problem I’ll build my app in another way, and then when I have time for it then I will learn all I need about Cordova plugins! So just forget about it.
What may help? I updated my ionic and bower few days back and everything has got fucked up! Really frustrating when everything was working fine and now I’ve no idea about the root cause of issues as a lot of things stopped working! Please help?