react-native-image-picker
react-native-image-picker copied to clipboard
[🐛] Limited permission not work for iOS
Limited permission not work for iOS. When I ask user to choose permission to access Library, he can choose all photos or just 1, 2 or 3 photos for example. When he choose just 1, 2 or 3 photos, just after, launchImageLibrary shows all photos in Library. No filter is apply.
Can you help me ?
same issue here.
same issue here.
https://github.com/react-native-image-picker/react-native-image-picker/blob/1878acbca5ca40873cdbe047869f2e6337b28b49/ios/ImagePickerManager.m#L283
iOS 14 Limited permission not support in this checkpermission.
I get the permission dialog after taking a photo with saveToPhotos: true. Selecting some photos has no effect the next time I use launch the image library.
react-native-image-crop-picker works perfectly for iOS ! :)
This is a critical issue I think...I need a picker but it has to work properly in the latest iOS...are you guys saying limited selection functionality isn't supported by this library?
@nicolasdevienne @hoony11 @jeeyunlee-fe
@timothyerwin that's why I used react-native-image-crop-picker for iOS !
-> Has anybody found any workaround for this?
(Sorry but this library is unusable for ios without fixing this issue.)
Did my best Obj-C effort to integrate limited photo support here: https://github.com/react-native-image-picker/react-native-image-picker/pull/1814
any update
Any updates on this issue ? The library is awesome but this issue is critical for our users. Thanks
I'm also looking for this feature. Any updates? 🙂
any news?
We decide to use https://github.com/ivpusic/react-native-image-crop-picker instead. Works like a charm!
I really love this library, and compared to react-native-image-crop-picker (which size is 2.15 MB) it's very light with 145 kB size, which is very important, especially if you just need an image picker for profile photo update... but it's really shame that this library is this popular but the ios 14+ permission issue still exists.
Any suggestion for this ????
Any suggestion for this ????
We switched to https://github.com/ivpusic/react-native-image-crop-picker and it works fine now.
Any update on that other than changing library? react-native-image-crop-picker have issues on its own such as GIF support on iOS.
Any update on this?
Any update on this?
Would happily review PRs that solve this.
Technically, the way image-picker works is correct. Just because limited access has been selected, doesn't affect the photos displayed when calling launchImageLibrary. That's how it natively works.
This can be seen all over the Apple forums and Stack overflow
- https://developer.apple.com/forums/thread/663098
- https://developer.apple.com/forums/thread/658485
- https://stackoverflow.com/questions/63369948/ios-14-still-display-entire-photo-library-despite-of-limited-status
~A new method to prompt for additional photos would be useful though.~ react-native-permissions already solves this.
@Johan-dutoit I can still access images that weren't given permissions though. So the picker does not limit the photos to the ones that have been given permission.
Hey @Johan-dutoit, How react-native-permissions solve this issue? The only related thing they provide is the method openLimitedPhotoLibraryPicker which is for updating the selected photos, not for picking one.
#2093
Facing this issue as well @Johan-dutoit. Would you please be able to direct to what changes do we need to add from react-native-permissions library? Or is it just sorted internally with the upgrades? Thanks 🙏🏽
is there any solution for this? this doesn't seems fit into the terms "Selected photos"...