ivpusic / react-native-image-crop-picker

iOS/Android image picker with support for camera, video, configurable compression, multiple images and cropping
MIT License
6.05k stars 1.54k forks source link

How can i remove panoramas when i use smartalbum to select some pictures? #829

Open swb2016 opened 5 years ago

swb2016 commented 5 years ago

Version

Tell us which versions you are using:

Platform

Tell us to which platform this issue is related

Expected behaviour

I need use smartalbum to select some pictures, but i don't want to select panoramas pictures.

Actual behaviour

Now, I can only use UserLibrary to select some pictures from camera roll,and it's contains panoramas pictures.

Steps to reproduce

1.

2.

3.

Attachments

// stacktrace or any other useful debug info

Love react-native-image-crop-picker? Please consider supporting our collective: 👉 https://opencollective.com/react-native-image-crop-picker/donate

krewllobster commented 5 years ago

@swb2016 use the option:

smartAlbums: ['UserLibrary']

This will restrict the libraries the user can select from to their UserLibrary

Its one of the documented option items in the lib documentation