I would like to use the React native camera module and apply a zoom. A zoom function is available which takes an argument a float between 0 (minimum camera zoom) and 1 (maximum camera zoom).
I would like to have a fixed zoom (zoom x2 for example) but on any type of device.
So I cannot use this function, because if a device has a maximum zoom of x10 I should set the zoom to 0.20 while if another device has a maximum zoom of x30 I should put 0.06.
Is it possible to know the maximum zoom value of a device?
From there I could solve my problem
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…