Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CameraRoll.getPhotos crashes trying to get iCloud photos #18159

Closed
facuescobar opened this issue Mar 1, 2018 · 5 comments
Closed

CameraRoll.getPhotos crashes trying to get iCloud photos #18159

facuescobar opened this issue Mar 1, 2018 · 5 comments
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.

Comments

@facuescobar
Copy link

facuescobar commented Mar 1, 2018

Issue Description

Environment

Environment:
OS: macOS High Sierra 10.13.3
Node: 7.9.0
Yarn: 0.23.2
npm: 5.5.1
Watchman: 4.7.0
Xcode: Xcode 9.2 Build version 9C40b
Android Studio: 2.3 AI-162.4069837

Packages: (wanted => installed)
react: 16.2.0 => 16.2.0
react-native: 0.53.3 => 0.53.3

Expected Behavior

CameraRoll.getPhotos should return local and iCloud images

Actual Behavior

CameraRoll.getPhotos crashes trying to get iCloud photos

Steps to Reproduce

This error happens to some users only.
Happens only with iCloud Photos

Use the expo app to load your icloud photos. The crash could happen with a random image.

Expo App:
https://exp.host/@facuescobar/camera-roll-photos-2018
Code:
https://github.com/facuescobar/camera-roll-photos
CameraRoll.getPhotos params:
https://github.com/facuescobar/camera-roll-photos/blob/master/src/reducers/camera-roll.js#L20
CameraRoll.getPhotos call:
https://github.com/facuescobar/camera-roll-photos/blob/master/src/actions/camera-roll.js#L20
https://github.com/facuescobar/camera-roll-photos/blob/master/src/actions/camera-roll.js#L46

Crash Report

screen shot 2018-03-01 at 12 35 13 pm

screen shot 2018-03-01 at 12 34 43 pm

@facuescobar facuescobar changed the title CameraRoll.getPhotos crash trying to get iCloud photos CameraRoll.getPhotos crashes trying to get iCloud photos Mar 1, 2018
@react-native-bot
Copy link
Collaborator

Thanks for posting this! It looks like your issue may refer to an older version of React Native. Can you reproduce the issue on the latest stable release?

Thank you for your contributions.

How to ContributeWhat to Expect from Maintainers

@react-native-bot react-native-bot added Old Version Ran Commands One of our bots successfully processed a command. labels Mar 5, 2018
@facuescobar
Copy link
Author

@react-native-bot I've upgraded to latest version and this issue has not been fixed there's also different times that Camera Roll can not obtain iCloud photos (syncing issue?) and it displays an empty list.

Can anyone take a look to this issue please?

@facuescobar
Copy link
Author

Any update here?

@stale
Copy link

stale bot commented Jun 20, 2018

Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as "For Discussion" or "Good first issue" and I will leave it open. Thank you for your contributions.

@stale stale bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Jun 20, 2018
@react-native-bot
Copy link
Collaborator

I am closing this issue because it does not appear to have been verified on the latest release, and there has been no followup in a while.

If you found this thread after encountering the same issue in the latest release, please feel free to create a new issue with up-to-date information by clicking here.

@stale stale bot removed the Stale There has been a lack of activity on this issue and it may be closed soon. label Jul 17, 2018
@facebook facebook locked as resolved and limited conversation to collaborators Jul 18, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Ran Commands One of our bots successfully processed a command. Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

2 participants