Creating a custom camera using Ionic

I want to create Photo Capture App using Ionic. I went through the Cordova Camera Plugin and the examples show how to open the built-in camera on button click.

Is there a way to download the camera view directly in the app (like the default camera app, snapchat, etc.)? I want to open the camera inside the app because I want to additionally add options to the camera, open the gallery when the user slides over the camera, etc.

Any help is greatly appreciated.

Thanks to


The problem is similar to this question, but the answer doesn't solve my problem.

+3


source to share


2 answers


I don't know how to do this with plugins that currently exist, but you might find it helpful to know what terminology is used to describe this problem. In particular, it sounds like you want to use a custom camera overlay, or what is sometimes called a custom camera. You probably need to create your own plugin to do what you described, but you can use something like this as a base: https://github.com/performanceactive/phonegap-custom-camera-plugin



+4


source


You can use cordova-plugin-camera-preview , which allows you to interact with the camera inside the app.



+1


source







All Articles