From e6adb78de6a9841a3a1af92c1e12feec22b86620 Mon Sep 17 00:00:00 2001 From: janus_wel Date: Wed, 3 May 2017 10:15:35 -0700 Subject: [PATCH] Fix key name required with accessing CameraRoll Summary: - [x] Explain the **motivation** for making this change. - [ ] ~Provide a **test plan** demonstrating that the code is solid.~ - [x] Match the **code formatting** of the rest of the codebase. - [x] Target the `master` branch, NOT a "stable" branch. The key name required to access the CameraRoll in iOS is incorrect. Closes https://github.com/facebook/react-native/pull/13755 Differential Revision: D4994048 Pulled By: javache fbshipit-source-id: 9ec2f793f03f529e9cf0f89106f88445fde50f2a --- CameraRoll.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CameraRoll.js b/CameraRoll.js index 5d94eb40d..a35336958 100644 --- a/CameraRoll.js +++ b/CameraRoll.js @@ -116,8 +116,8 @@ var getPhotosReturnChecker = createStrictShapeTypeChecker({ * * ### Permissions * The user's permission is required in order to access the Camera Roll on devices running iOS 10 or later. - * Fill out the `NSCameraUsageDescription` key in your `Info.plist` with a string that describes how your - * app will use this data. This key will appear as `Privacy - Camera Usage Description` in Xcode. + * Add the `NSPhotoLibraryUsageDescription` key in your `Info.plist` with a string that describes how your + * app will use this data. This key will appear as `Privacy - Photo Library Usage Description` in Xcode. * */ class CameraRoll {