Skip to content

lawinko/expo-plugin-image-crop-picker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Expo Config Plugin: react-native-image-crop-picker

This plugin configures iOS and Android native files to support react-native-image-crop-picker in Expo prebuild projects.

Installation

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',
});

What it does

iOS:

  • Adds NSCameraUsageDescription, NSPhotoLibraryUsageDescription, and NSMicrophoneUsageDescription to Info.plist.

Android:

  • Sets compileSdkVersion and targetSdkVersion to 33.
  • Adds camera permission and optional camera hardware features.
  • Enables vector drawable support.
  • Adds Maven repositories.

Build

npm run build

Contributing

Pull requests are welcome! Please follow the existing coding style and add JSDoc to any new functions.

License

MIT

About

Expo config plugin for react-native-image-crop-picker

Resources

License

Stars

Watchers

Forks

Packages

No packages published