Closed hongkheng closed 2 years ago
@hongkheng we are expecting paths like file:///path_of_file.extension
.
can you add reproducible example so I can add support for ph://
files?
@nomi9995 I will need some time to reproduce that, will be nice to have support for ph://
path.
Hello Guys,
Anybody able to fix this issue, I'm facing the same on iOS.
Thanks
@hongkheng @dhayaljaswantgit if you add minimal repro issue through the new GitHub repo then I can fix it quickly. thanks
@hongkheng @dhayaljaswantgit fixed by 1.4.0
version
I'm facing a crash in iOS after selecting a video in the camera roll. It's happening for all videos.
The library i'm using for Cameraroll is
@react-native-community/cameraroll
.The uri path that I'm passing to the
compressVideo
method is of the formph://1ABDEA26-31B1-4EB0-B579-A7B8D8B49EED/L0/001
. I even tried to usereact-native-fs
to use the path/var/mobile/Containers/Data/Application/4AF55096-E2CA-4BE1-93D5-2D252D226886/Library/Caches/IMG_1294.mp4
and the same crash still happens.It's crashing at
getFileSize
method inVideoCompressor.swift
file.What's the expected path we should be passing to
compressVideo
assuming we are not usingreact-native-image-picker
like in your example?my react-native is v0.63, I'm using
0.5.9
version of the library.