Does PhoneGap / Cordova support your application to have a user interface when using the device’s camera?

For example, native applications such as Instagram have their own interface for taking photos. Does PhoneGap / Cordova allow building a similar interface?

+6
source share
3 answers

Cordoba "core" has a camera.getPicture function that allows you to access the camera (on all platforms, iOS, Android ...). However, the user interface for this action is platform specific. In other words, the way your application uses the camera will look different on each platform.

If you want to configure the camera, you will have to write your own plugin. This includes creating your own implementation for each of the platforms you want to cover, as well as JavaScript bindings for your plugin.

At this point, you will lose many of the key benefits of using Cordoba! Perhaps consider alternatives such as Xamarin.

+5
source

Yes, you just need to create your own camera plugin.

+1
source

According to my thoughts. Yes, but it will require you to change the core of the phone call.

-1
source

All Articles