[
https://issues.apache.org/jira/browse/CB-13266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16212521#comment-16212521
]
ASF GitHub Bot commented on CB-13266:
-------------------------------------
Github user jcesarmobile commented on a diff in the pull request:
https://github.com/apache/cordova-plugin-media-capture/pull/83#discussion_r145943140
--- Diff: README.md ---
@@ -200,26 +200,33 @@ object featuring a
`CaptureError.CAPTURE_NO_MEDIA_FILES` error code.
### iOS Quirks
-Since iOS 10 it's mandatory to add a `NSCameraUsageDescription`,
`NSMicrophoneUsageDescription` and `NSPhotoLibraryUsageDescriptionentry` in the
info.plist.
+Since iOS 10 it's mandatory to add a `NSCameraUsageDescription`,
`NSMicrophoneUsageDescription` and `NSPhotoLibraryUsageDescriptionentry` in the
info.plist. If you don't add them, the app will crash when it tries to get the
permission to use them. Also, Apple will reject apps that use this features and
don't provide the usage descriptions.
-* `NSCameraUsageDescription` describes the reason that the app accesses
the user’s camera.
-* `NSMicrophoneUsageDescription` describes the reason that the app
accesses the user’s microphone.
+* `NSCameraUsageDescription` describes the reason that the app accesses
the user's camera.
+* `NSMicrophoneUsageDescription` describes the reason that the app
accesses the user's microphone.
* `NSPhotoLibraryUsageDescriptionentry` 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.
+To add this entries you can use `edit-config` tag in the config.xml like
this:
--- End diff --
good catch, I copy/pasted from the media PR and missed some changes 🙈
> Remove ios usage descriptions from media capture plugin
> -------------------------------------------------------
>
> Key: CB-13266
> URL: https://issues.apache.org/jira/browse/CB-13266
> Project: Apache Cordova
> Issue Type: Sub-task
> Reporter: jcesarmobile
> Assignee: jcesarmobile
>
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]