0

I have requirement where I have to restrict the image upload from SF1 App to camera only.I have tried using below:

<input id = "image" type="file" accept="image/* capture=camera" capture="camera"  aura:id="{!v.imgId}" onchange="{!c.fileSelected}"/> 

While it does work on IOS device by showing only camera option, on android though it does not restrict from showing upload through "files" options.Does anyone know any other way to implement this

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.