This plugin configures iOS and Android native files to support react-native-image-crop-picker
in Expo prebuild projects.
npm install expo-image-crop-picker-plugin
Add to your app.config.js
:
import withImageCropPicker from 'expo-image-crop-picker-plugin';
export default withImageCropPicker({
name: 'MyApp',
slug: 'my-app',
});
- Adds
NSCameraUsageDescription
,NSPhotoLibraryUsageDescription
, andNSMicrophoneUsageDescription
to Info.plist.
- Sets
compileSdkVersion
andtargetSdkVersion
to 33. - Adds camera permission and optional camera hardware features.
- Enables vector drawable support.
- Adds Maven repositories.
npm run build
Pull requests are welcome! Please follow the existing coding style and add JSDoc to any new functions.
MIT