teslamotors / react-native-camera-kit

A high performance, easy to use, rock solid camera library for React Native apps.
MIT License
2.42k stars 577 forks source link

Return height/width of capture on iOS #646

Closed DavidBertet closed 1 month ago

DavidBertet commented 4 months ago

Summary

Return height/width of capture on iOS to be consistent with Android

Issue raised #641

How did you test this change?

Built example & ran on device > camera > take a picture

It printed the expected values

'image', {
  uri: 'file:///var/mobile/Containers/Data/Application...',
  name: '09C6A457....jpg',
  size: 1886367,
  thumb: '',
  height: 3024,
  width: 4032
 }