cordova-plugin-raqmiyat-camerapreview
1.0.0 • Public • Published
title: Ionic Camera Preview
description: Open device camera with preview
cordova-plugin-raqmiyat-camerapreview
ionic cordova plugin add cordova-plugin-raqmiyat-camerapreview (or)
ionic cordova plugin add https://github.com/GMuthuraja/IonicPluginCameraPreview.git
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