CameraRoll.getPhotos Invalid filter option with assetType on iOS #23891
Labels
API: CameraRoll
Bug
Platform: iOS
iOS applications.
Resolution: Locked
This issue was locked by the bot.
🐛 Bug Report
I have an
Invalid filter option: '(null)'. Expected one of 'photos','videos' or 'all'.
when i callCameraRoll.getPhotos({ first: 1})
on iOS with rn 0.59. It works on Android.assetType
has not thePhotos
default value as wrote in https://facebook.github.io/react-native/docs/camerarollThis error message comes from
react-native/Libraries/CameraRoll/RCTCameraRollManager.m
Line 60 in 6cc5137
To Reproduce
Call
CameraRoll.getPhotos({ first: 1})
on iOS with rn 0.59Expected Behavior
No errors.
Environment
The text was updated successfully, but these errors were encountered: