Skip to content

CameraRoll.getPhotos breaks with assetType = photos #13671

@zackify

Description

@zackify

Description

I'm using this library: https://github.com/jeanpan/react-native-camera-roll-picker/blob/master/index.js under the hood it calls the cameraRoll api. When I pass in 'All' for the asset type, it works. When I use 'Photos' as the type, the app crashes inside of the RCTCameraRoll code:

screen shot 2017-04-26 at 10 11 19 am

Reproduction Steps and Sample Code

I was going to try and add an example on expo, but it won't work unless you have more than just photos in your camera roll. To reproduce, just call CameraRoll.getPhotos({assetType: 'Photos'})

  • React Native version: 0.43.4
  • Platform: iOS
  • Development Operating System: MacOS
  • Dev tools: Xcode 8.3.2, iOS 10.3.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions