You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
CameraRoll.getPhotos breaks with assetType = photos #13671
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'})
It works fine when I call that method in my own component. Doesn't seem to
be a bug with React native but rather that 3rd party library. I did the
exact call to get all media types and it worked fine for me, so I closed.
The thing is that some photo for some reason filename is missing (maybe iCloud). And I think its crashing because of that (not completely sure), but as I see @zackify also his filename was nil.
It doesn't fail under the simulator, but on my real device, where most of my photos are on iCloud.
@facuescobar except the thing that I've told you, I have no other clue. Also they are using old framework for the Gallery and this is taking the pictures from iTunes, it has some strange ordering, if you want to test out this one be my guest https://github.com/pentarex/react-native-gallery-manager
Activity
elanini commentedon May 17, 2017
Hi zackify, I'm having the same issue. How did you solve it?
klvs commentedon May 17, 2017
@zackify I'm running into this problem. I noticed you closed it, did you solve it or find a work around, if so what is it?
zackify commentedon May 17, 2017
pentarex commentedon Jan 11, 2018
I am having the same issue with CameraRoll from RN.
The thing is that some photo for some reason filename is missing (maybe iCloud). And I think its crashing because of that (not completely sure), but as I see @zackify also his filename was nil.
It doesn't fail under the simulator, but on my real device, where most of my photos are on iCloud.
sujit13666 commentedon Jan 11, 2018
Same Here guys.
react#13671 Fixing an issue where if the images are coming from iClou…
pentarex commentedon Jan 12, 2018
The pull request was approved, it only needs to get merged.
iOS: Fix Crash when CameraRoll is getting assets from iCloud and no f…
facuescobar commentedon Feb 28, 2018
@pentarex was this update merged?
I can not see it in the latest version of RN
pentarex commentedon Feb 28, 2018
I don’t think. Check my profile for alternative library that I’ve wrote if you want
facuescobar commentedon Mar 2, 2018
@pentarex I did the same update on my project and I think that fixed some cases.
But I'm still having errors with iCloud files, I have reported this #18159
It's being difficult to find the reason of this bug because I know that is happening for some people, but I couldn't reproduce it 🤯
if you have any idea or suggestion let me know please!
pentarex commentedon Mar 2, 2018
@facuescobar except the thing that I've told you, I have no other clue. Also they are using old framework for the Gallery and this is taking the pictures from iTunes, it has some strange ordering, if you want to test out this one be my guest https://github.com/pentarex/react-native-gallery-manager