ivpusic / react-native-image-crop-picker

iOS/Android image picker with support for camera, video, configurable compression, multiple images and cropping
MIT License
6.1k stars 1.55k forks source link

filename cannot contain "!" or "~" #1034

Open nangezi123 opened 5 years ago

nangezi123 commented 5 years ago

When selecting a file whose name contains '!' or '~'. this file is a video.

this error:

code: "E_NO_IMAGE_DATA_FOUND" framesToPop: 1 nativeStackAndroid: [] userInfo: null message: "Invalid image selected" stack: "Invalid image selected"

Version

Platform

francoangulo commented 1 year ago

This is still happening. Trimming videos with Google Photos adds a "~" to the file name, and this goes directly to the catch. So my users are unable to add trimmed videos since they use Google Photos