Home > Forum > User Voice > Force camera usage for image upload

Force camera usage for image upload NOT NOW
0

Hi,

we have several use cases (eg recurring drivers licence validity checks) with the need to force an image upload with a photo just shot through the camera. An upload from the photo gallery shall not be allowed because the photo must be recent and EXIF data could be manipulated easily in the photos option.

The image form field would need an option to force camera usage when a user uploads a photo without the default options of photo or document libraries. A second option to use front and/or rear camera would be nice too.
It’s similar too:
New field config combined with scan functionality of WebCon App

For web version the HTML input field could be structured like this eg:

Capture should be fixed to environment for rear camera. Front camera would ne capture to be set to “user”.

Example code snippets for native mobile apps:
iOS:
let imagePicker = UIImagePickerController()
imagePicker.sourceType = .camera
imagePicker.delegate = self
present(imagePicker, animated: true, completion: nil)

NSCameraUsageDescription needs to bee added to Info.plist

Android:
val cameraIntent = Intent(MediaStore.ACTION_IMAGE_CAPTURE)
startActivityForResult(cameraIntent, REQUEST_IMAGE_CAPTURE)

To force this the functionality is needed too to set a process only accessible for smartphone or tablet devices and not for PC. PC usage would only be acceptable with this feature request and if local image upload would be prevented and camera usage forced:
Enable using camera for no mobile devices

Kind Regards
Sébastien

Privacy overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognizing you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.


To see a full list of the cookies we use and learn more about their purposes, visit our Privacy Policy.