In Pega mobile how to upload an image only using camera

Using Pega mobile can we full fill the below requirement?

Upload image only using camera. when user click on the upload image button, it will open the camera and when user capture the image then should upload but need to restrict upload old image by go through gallery or files.

@ShashikaPriyankara does the answer in this previous post Capturing the image instantly from camera help answer your question?

@MarijeSchillern We checked this post but its not working. every time its displaying like this in pega mobile app.

How to remove “Select Photo,Record Video,Browse” options from the list which is appear when click upload button on pega mobile.

Hello @ShashikaPriyankara,

As of Pega 8.8, such configuration is not exposed to application developers. End-users need to be aware of what type of file is expected and carefully pick one of the options

@ShashikaPriyankara

Did you find anyway to do this.

@Mateusz

Hi @Mateusz , we are facing the same issue and desperately looking for a solution. Can you please guide us on this to tackle it in a different way and not using pyAttachContent control.

atanu