cordova-plugin-raqmiyat-camerapreview

1.0.0 • Public • Published

IonicPluginCameraPreview


title: Ionic Camera Preview description: Open device camera with preview

cordova-plugin-raqmiyat-camerapreview

Installation

ionic cordova plugin add cordova-plugin-raqmiyat-camerapreview (or)
ionic cordova plugin add https://github.com/GMuthuraja/IonicPluginCameraPreview.git

Supported Platforms

  • Android

How to Use

declare var CameraPreview: any; //paste it below the import section

//button onclick function 
openCam() { 
CameraPreview.openCamera("", (response) => {
      console.log(response); //captured image file path
    }, (error => {
      console.log(error);
})
}

Package Sidebar

Install

npm i cordova-plugin-raqmiyat-camerapreview

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

42.6 kB

Total Files

10

Last publish

Collaborators

  • muthuraja