I need to show an CameraPopover without any arrow. What I have tried till now is:
var popover = new CameraPopoverOptions(300,300,100,100,0);
var options = {
quality: 75,
destinationType: Camera.DestinationType.FILE_URI,
sourceType: value,
allowEdit: false,
encodingType: Camera.EncodingType.JPEG,
popoverOptions: popover,
saveToPhotoAlbum: false
};
In the last parameter of CameraPopoverOptions(300,300,100,100,0)
, I have tried passing 0, undefined, null and other numbers except (1,2,4,8,15) because these numbers are already defined in Camera cordova plugin
Camera.PopoverArrowDirection = {
ARROW_UP : 1, // matches iOS UIPopoverArrowDirection constants
ARROW_DOWN : 2,
ARROW_LEFT : 4,
ARROW_RIGHT : 8,
ARROW_ANY : 15
};
In native there is one solution but for Cordova project how to do it? Any workaround or suggestion will help.