React native image picker with version 0.28.0, react native 0.59.5 and iOS version less than 13 was working fine. But after upgrade to iOS 13+, it does't select videos from library and returns permission error in response.How to achieve specific?
Asked
Active
Viewed 2,001 times
1 Answers
6
As in apple's latest iOS update 13 or 13+, it clearly states Privacy and Security update but does't disclose any documentation at spot. Earlier react-native-image-picker used to move item from local directories while selecting a video from library. But this update restricted to copy item from local directory instead of moving.
I fixed it by changing moveItemAtURL to copyItemAtURL at line 459 on ImagePickerManager.m
Open project>node_modules>react-native-image-picker>iOS>ImagePickerManager.m

Abdul Basit Mangat
- 1,112
- 9
- 18
-
@Abdul_Basit is it working for all versions of IOS? – nivesh shastri Nov 04 '19 at 08:53
-
Yes @niveshshastri – Abdul Basit Mangat Nov 08 '19 at 04:58
-
Unfortunately this fix didn't work for me. – TheScrappyDev Jul 06 '22 at 20:23