0
votes

I am building a hybrid application with the ionic framework that utilizes the device's camera. I came across a custom camera overlay on github and was wondering if anyone knows how I would integrate this into my ionic application. Ionic has documented that it is possible to add in Cordova custom plugins.

Link to the plugin I wish to add:

https://github.com/performanceactive/phonegap-custom-camera-plugin

1

1 Answers

3
votes

Ionic is based on Cordova, you can add Cordova plugin in Cordova way. Open an command prompt and navigate to your root source folder, type:

root folder> cordova plugin add https://github.com/performanceactive/phonegap-custom-camera-plugin

Or in Ionic way:

root folder> ionic plugin add https://github.com/performanceactive/phonegap-custom-camera-plugin

For detail of the CLI, please check