Hide Import from Gallery option in the app while uploading images.
The code below will enable you to hide the “Import from Gallery” option while uploading images in the app. This is useful because some app owners will only want their app users to use new pictures.
1) Log into your App Manager and select your app.
2) Click Colors from the left-hand-side of the screen (or the middle of the screen).
3) Scroll down to the Advanced SCSS box.
.action-sheet-open .action-sheet-opions .button:last-child {
display:none;
};
4) Click Save.
NOTE:Please be aware that in browser there is no option for taking a picture from the camera so if you utilize this option, then the image upload won’t be possible (in browser) but in app user will still have option to take image from camera.
IMPORTANT NOTICE: If there is already code in the advanced SCSS box, do not remove it. Start a new line “after” the last character in the box, then paste the above code.