Camera Plugin not working (build error)

Is too late here, and I’ll try tomorrow, just found this: https://github.com/driftyco/ionic-native

You should do something like:

npm install ionic-native --save

and fix the import to:

import {Camera} from 'ionic-native';

BTW, after installing the plugin you should be able to use it from navigator object, in my app I have the StatusBar and the Geoloaction plugins there, but I will test this tomorrow, I like the idea of having most used plugins together in one package.

1 Like