mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2026-04-13 00:00:10 +08:00
docs(gitbook): try out generated docs
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
<a style="float:right;font-size:12px;" href="http://github.com/danielsogl/awesome-cordova-plugins/edit/master/src/@awesome-cordova-plugins/plugins/camera/index.ts#L121">
|
||||
Improve this doc
|
||||
</a>
|
||||
|
||||
# Camera
|
||||
|
||||
```
|
||||
$ ionic cordova plugin add cordova-plugin-camera
|
||||
$ npm install @ionic-native/plugins/camera
|
||||
```
|
||||
|
||||
## [Usage Documentation](https://ionicframework.com/docs/native/camera/)
|
||||
|
||||
Plugin Repo: [https://github.com/apache/cordova-plugin-camera](https://github.com/apache/cordova-plugin-camera)
|
||||
|
||||
Take a photo or capture video.
|
||||
|
||||
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
|
||||
|
||||
```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
|
||||
|
||||
## Supported platforms
|
||||
|
||||
- Android
|
||||
- Browser
|
||||
- iOS
|
||||
- Windows
|
||||
Reference in New Issue
Block a user