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

iOS 11 requires a new permission for downloading pictures #743

Closed
dozoisch opened this issue Oct 7, 2017 · 1 comment
Closed

iOS 11 requires a new permission for downloading pictures #743

dozoisch opened this issue Oct 7, 2017 · 1 comment
Assignees
Labels
Milestone

Comments

@dozoisch
Copy link
Contributor

dozoisch commented Oct 7, 2017

iOS 11 added a new permission NSPhotoLibraryAddUsageDescription which is required to be there to be able to execute CameraRoll.saveToCameraRoll (see https://developer.apple.com/library/content/documentation/General/Reference/InfoPlistKeyReference/Articles/CocoaKeys.html). Currently saveToCameraRoll will crash the app.

Before only NSPhotoLibraryUsageDescription was needed!

Current workaround:

In app.json

"ios": {
  "infoPlist": {
    "NSPhotoLibraryAddUsageDescription": "Give <appName> permission to save to your photos",
  }
}
dozoisch added a commit to dozoisch/expo that referenced this issue Oct 7, 2017
@terribleben terribleben self-assigned this Oct 7, 2017
@terribleben terribleben added this to the M11 (SDK 22) milestone Oct 7, 2017
@terribleben
Copy link
Contributor

Thanks - merged your PR #744 and will ship this in our next release.

expbot pushed a commit that referenced this issue Oct 15, 2017
- see #743

Closes #744

fbshipit-source-id: ea54a7a097
@lock lock bot added the outdated label Jun 16, 2019
@lock lock bot locked and limited conversation to collaborators Jun 16, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants