CB-12086 Regenerate README.md from template
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/commit/c9e6a9a3 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/tree/c9e6a9a3 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/diff/c9e6a9a3 Branch: refs/heads/2.3.x Commit: c9e6a9a38ab947fca73d6180a6ed21a154418a44 Parents: cc48945 Author: Vladimir Kotikov <[email protected]> Authored: Mon Nov 14 10:01:22 2016 +0300 Committer: Vladimir Kotikov <[email protected]> Committed: Mon Nov 14 10:01:22 2016 +0300 ---------------------------------------------------------------------- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-plugin-camera/blob/c9e6a9a3/README.md ---------------------------------------------------------------------- diff --git a/README.md b/README.md index a9431fd..f2b4562 100644 --- a/README.md +++ b/README.md @@ -76,21 +76,21 @@ Documentation consists of template and API docs produced from the plugin JS code ### iOS Quirks -Since iOS 10 it's mandatory to add a `NSCameraUsageDescription` and `NSPhotoLibraryUsageDescriptionentry` in the info.plist. +Since iOS 10 it's mandatory to add a `NSCameraUsageDescription` and `NSPhotoLibraryUsageDescription` in the info.plist. - `NSCameraUsageDescription` describes the reason that the app accesses the userâs camera. -- `NSPhotoLibraryUsageDescriptionentry` describes the reason the app accesses the user's photo library. +- `NSPhotoLibraryUsageDescription` describes the reason the app accesses the user's photo library. When the system prompts the user to allow access, this string is displayed as part of the dialog box. To add this entry you can pass the following variables on plugin install. - `CAMERA_USAGE_DESCRIPTION` for `NSCameraUsageDescription` -- `PHOTOLIBRARY_USAGE_DESCRIPTION` for `NSPhotoLibraryUsageDescriptionentry` -- +- `PHOTOLIBRARY_USAGE_DESCRIPTION` for `NSPhotoLibraryUsageDescription` + Example: - cordova plugin add cordova-plugin-camera --variable CAMERA_USAGE_DESCRIPTION="your usage message" + cordova plugin add cordova-plugin-camera --variable CAMERA_USAGE_DESCRIPTION="your usage message" --variable PHOTOLIBRARY_USAGE_DESCRIPTION="your usage message" If you don't pass the variable, the plugin will add an empty string as value. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
