Has anyone used IonicDB yet?

Has anyone tried to implement the new IonicDB? If so has anyone come across the following error message?

Error: [$injector:unpr] Unknown provider: $ionicDBProvider <- $ionicDB

Hello @shailz,

Just add $ionicDB into .controller/services/etc function, and should works :slight_smile:

More info: https://docs.ionic.io/services/database/#quick-start

For my part it was ionic-cloud which was not up to date.

Hello @Mike22 . I have the same problem with ionic-cloud. I’ve installed it from ionic website but $ionicDB isn’t recognized. How do you figured out to update ionic cloud ? Thanks.

When I opened the “lib / ionic.cloud.min.js” and I searched for the different module, all was except the ionicDB.

I’ve searched that and I have had something similar, then I removed that file, installed Ionic Cloud from official website and I have the same problem, ionicDB isn’t there.

For my part, I had to re-launch an empty project to retrieve the file

1 Like