yarn react-native-image-picker 0.18.13

latest releases: 7.1.2, 7.1.1, 7.1.0...
8 years ago

[Android]

Check if camera is available in native code rather than in Manifest

  • Device without camera can now use the module (If camera is not available the button takePhoto will not appear)
  • Since media permission in manifest aren't always granted with Android 6+ the check will work in any case now. #168

if you want to allow device without camera to use the module please change the folowing line in your manifest

<uses-feature android:name="android.hardware.camera" android:required="false"/>
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false"/>

Don't miss a new react-native-image-picker release

NewReleases is sending notifications on new releases.