Setting Camera Zoom to Specific Value

Hey y’all! I’m putting together a camera app, and Expo’s camera component looks like a promising lead!

However, I really need to set the camera zoom factor to 1.2x, and I’m having trouble figuring out how to do that with just the percentage scale.

Is there some way to set the camera’s zoom to a fixed factor? Or maybe grab the device’s maximum zoom factor so I could math from there?

Hello! We don’t support this right now, but that makes a lot of sense. Could you write up something here Feature Requests | Expo so that we think about this when adding new features?

Thank you kindly! I have put up a feature request here.

2 Likes

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