docs(camera): update xml in warning part (#2832)

* Update xml in warning part

* Update index.ts
This commit is contained in:
João Mourão 2019-01-04 22:06:17 +01:00 committed by Daniel Sogl
parent ea3150e99a
commit 6ef854f4f1

View File

@ -128,7 +128,13 @@ export enum Direction {
*
* Requires the Cordova plugin: `cordova-plugin-camera`. For more info, please see the [Cordova Camera Plugin Docs](https://github.com/apache/cordova-plugin-camera).
*
* [Warning] Since IOS 10 the camera requires permissions to be placed in your config.xml add '<config-file parent="NSCameraUsageDescription" platform="ios" target="*-Info.plist"><string>You can take photos</string></config-file> inside of the <platform name='ios> section
* [Warning] Since IOS 10 the camera requires permissions to be placed in your config.xml add
* ```xml
* <config-file parent="NSCameraUsageDescription" platform="ios" target="*-Info.plist">
* <string>You can take photos</string>
* </config-file>
* ```
* inside of the <platform name='ios> section
*
* @usage
* ```typescript