-
Notifications
You must be signed in to change notification settings - Fork 24.9k
Closed
Labels
API: CameraRollBugPlatform: LinuxBuilding on Linux.Building on Linux.Platform: iOSiOS applications.iOS applications.Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.
Description
Environment
Environment:
OS: Linux 4.15
Node: 10.6.0
Yarn: 1.7.0
npm: 6.1.0
Watchman: Not Found
Xcode: N/A
Android Studio: Not Found
Packages: (wanted => installed)
react: 16.3.1 => 16.3.1
react-native: https://github.com/expo/react-native/archive/sdk-29.0.0.tar.gz => 0.55.4
Description
The CameraRoll.getPhotos function only returns some photos on iOS, while it works perfectly on Android. For example, if I use the following parameters
{
first: 100,
assetType: 'All',
groupTypes: 'All',
}
I only get 39 photos, while I have more than a thousand in my camera roll. I have also tried with multiple different parameters, but the result is the same (or fewer photos because of a filter).
Reproducible Demo
https://snack.expo.io/Hyw-kQa4X
- I think it must be run on a physical iOS device, because it has to access the camera roll.
- The demo prints the length of response.length, where response is the resolved value of CameraRoll.getPhotos with the parameters I mentioned earlier.
radreamer, vohoangankhanh, Jmedders, matthew-gordon, mariusc23 and 1 more
Metadata
Metadata
Assignees
Labels
API: CameraRollBugPlatform: LinuxBuilding on Linux.Building on Linux.Platform: iOSiOS applications.iOS applications.Resolution: LockedThis issue was locked by the bot.This issue was locked by the bot.