Pictures not appearing in Gallery using expo camerja example

After I press the button to take a picture, I hear the shutter snap, but there’s no pictures in the Gallery afterwards. I am getting the following warning.

[Unhandled promise rejection: TypeError: _this.camera.getAvailablePictureSizesAsync is not a function. (In '_this.camera.getAvailablePictureSizesAsync(_this.state.ratio)', '_this.camera.getAvailablePictureSizesAsync' is undefined)\]

It’s telling you that this is a problem.

You probably don’t have this.camera set properly or misspelled the method name or something like that.

1 Like

But i’m used all the files from the example folder withou changong them/ So there is a mistake in it?

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.