Add iOS permission information to CameraRoll.js
Summary: As of iOS10 permission is required to access user photos and their galleries, I felt this really needed to be addressed. I hope to create a section dedicated to iOS permissions soon. Closes https://github.com/facebook/react-native/pull/11259 Differential Revision: D4364354 Pulled By: hramos fbshipit-source-id: 97bdeb09deba01995eebd038e00ccc84b08281c9
This commit is contained in:
parent
d777e70923
commit
bf3704ebd8
|
@ -112,6 +112,12 @@ var getPhotosReturnChecker = createStrictShapeTypeChecker({
|
|||
* `CameraRoll` provides access to the local camera roll / gallery.
|
||||
* Before using this you must link the `RCTCameraRoll` library.
|
||||
* You can refer to [Linking](https://facebook.github.io/react-native/docs/linking-libraries-ios.html) for help.
|
||||
*
|
||||
* ### 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.
|
||||
*
|
||||
*/
|
||||
class CameraRoll {
|
||||
|
||||
|
|
Loading…
Reference in New Issue