CameraRoll error on android java.lang.NumberFormatException: null #18023
Labels
Ran Commands
One of our bots successfully processed a command.
Resolution: Locked
This issue was locked by the bot.
Is this a bug report?
Yes
Have you read the Contributing Guidelines?
Yes
Environment
Environment:
OS: macOS High Sierra 10.13.3
Node: 9.3.0
Yarn: 1.3.2
npm: 5.6.0
Watchman: 4.9.0
Xcode: Xcode 9.2 Build version 9C40b
Android Studio: 3.0 AI-171.4443003
Packages: (wanted => installed)
react: 16.0.0-beta.5 => 16.0.0-beta.5
react-native: 0.49.3 => 0.49.3
Steps to Reproduce
CameraRoll.getPhotos({assetType: "Videos", first: 40})
Expected Behavior
Get list of videos.
Actual Behavior
CameraRollManager throws an error
java.lang.NumberFormatException: null
. When I try the same code on Xiaomi Redmi note 4x or on Lenovo k6, everything works fine. I also try to remove all videos from Nokia 3 phone and i still get this error. When I try to get gifs on these three phones withCameraRoll.getPhotos({ { mimeTypes: ['image/gif'] } })
everything works fine.This is log i captured with logcat:
Reproducible Demo
https://snack.expo.io/SJhq5F_wf
The text was updated successfully, but these errors were encountered: