Only available on iOS at the moment.
I’d recommend using the Camera API instead. See this guide. To open the photo gallery, you’d use CameraSource.Photos
, like so:
const image = await Plugins.Camera.getPhoto({
quality: 100,
allowEditing: false,
resultType: CameraResultType.DataUrl,
source: CameraSource.Photos
});