All Projects → Cordobo → Cordova Plugin Ios Camera Permissions

Cordobo / Cordova Plugin Ios Camera Permissions

Cordova / PhoneGap Plugin Permission Settings for NSCameraUsageDescription and NSPhotoLibraryUsageDescription in iOS 11 by adding a declaration to the Info.plist file, see:

Projects that are alternatives of or similar to Cordova Plugin Ios Camera Permissions

todo-list
TodoList using Ionic2/3 & Firebase: * PWA * SSO Google plus. * Share list via QRcode. * Upload image from Camera or Storage. * Speech Recognition.
Stars: ✭ 18 (-47.06%)
Mutual labels:  cordova, camera
Cordova Plugin Camera Preview Sample App
cordova-plugin-camera-preview Sample App
Stars: ✭ 76 (+123.53%)
Mutual labels:  camera, cordova
Cordova Plugin Qrscanner
A fast, energy efficient, highly-configurable QR code scanner for Cordova apps and the browser.
Stars: ✭ 485 (+1326.47%)
Mutual labels:  camera, cordova
ios-permissions-service
An easy way to do permissions requests & handling automatically.
Stars: ✭ 25 (-26.47%)
Mutual labels:  camera, permissions
ionic-multi-camera
Take multiple photos one after another
Stars: ✭ 12 (-64.71%)
Mutual labels:  cordova, camera
Sppermissions
Ask permissions with ready-use interface. You can check status permission and if it has been requested before. Support SwiftUI.
Stars: ✭ 4,701 (+13726.47%)
Mutual labels:  camera, permissions
Cordova Plugin Camera Preview
Cordova plugin that allows camera interaction from HTML code
Stars: ✭ 528 (+1452.94%)
Mutual labels:  camera, cordova
Playpixels
Swift Playground Book for learning image processing.
Stars: ✭ 14 (-58.82%)
Mutual labels:  camera
Workshop Donkeytracker
Workshop to build a serverless tracking application for your mobile device with an AWS backend
Stars: ✭ 27 (-20.59%)
Mutual labels:  cordova
Django Oml
Object Moderation Layer
Stars: ✭ 12 (-64.71%)
Mutual labels:  permissions
Cordova Cli
Apache Cordova CLI
Stars: ✭ 861 (+2432.35%)
Mutual labels:  cordova
Cordova Plugin Camera
Apache Cordova Plugin camera
Stars: ✭ 879 (+2485.29%)
Mutual labels:  cordova
Keemob
Cordova wrapper for Keeweb
Stars: ✭ 27 (-20.59%)
Mutual labels:  cordova
Deepstream.io
deepstream.io server
Stars: ✭ 6,947 (+20332.35%)
Mutual labels:  permissions
Storage Based Queue
Javascript queue library with persistent storage based queue mechanism for the browsers environments. Specially designed for offline.
Stars: ✭ 33 (-2.94%)
Mutual labels:  cordova
Android Video Editor
一款Android视频编辑项目,功能有视频拍摄,视频裁剪,视频滤镜,视频压缩
Stars: ✭ 864 (+2441.18%)
Mutual labels:  camera
Awesome Cordova Plugins
A curated list of awesome Cordova Apache Plugins https://cordova.apache.org/plugins/
Stars: ✭ 33 (-2.94%)
Mutual labels:  cordova
Qr Code Scanner
Full stable QR code scanner android app.
Stars: ✭ 28 (-17.65%)
Mutual labels:  camera
Picamera
Capture the stream of Images for a Raspberry Pi Camera in GoLang
Stars: ✭ 21 (-38.24%)
Mutual labels:  camera
Cordova Plugin Rtsp Vlc
PhoneGap/Cordova VLC RTSP Player Plugin
Stars: ✭ 21 (-38.24%)
Mutual labels:  cordova

iOS 11 Camera Permissions Plugin for Apache Cordova

Cordova / PhoneGap Plugin Permission Settings for NSCameraUsageDescription, NSPhotoLibraryUsageDescription, NSPhotoLibraryAddUsageDescription and NSMicrophoneUsageDescription in iOS 11 by adding a declaration to the Info.plist file

Install

Latest published version on npm (with Cordova CLI >= 5.0.0)

cordova plugin add cordova-plugin-ios-camera-permissions --save

Latest version from GitHub

cordova plugin add https://github.com/Cordobo/cordova-plugin-ios-camera-permissions.git --save

Customising the message prompts

On installation you can customise the prompts shown by setting the following variables on installation.

  • CAMERA_USAGE_DESCRIPTION for NSCameraUsageDescription
  • MICROPHONE_USAGE_DESCRIPTION for NSMicrophoneUsageDescription
  • PHOTOLIBRARY_ADD_USAGE_DESCRIPTION for NSPhotoLibraryAddUsageDescription (write-access only, iOS 11 only)
  • PHOTOLIBRARY_USAGE_DESCRIPTION for NSPhotoLibraryUsageDescription (read/write access)

For example:

cordova plugin add cordova-plugin-ios-camera-permissions --variable CAMERA_USAGE_DESCRIPTION="your usage message" --variable MICROPHONE_USAGE_DESCRIPTION="your microphone usage message here" --variable PHOTOLIBRARY_ADD_USAGE_DESCRIPTION="your photo library usage message here" --variable PHOTOLIBRARY_USAGE_DESCRIPTION="your photo library usage message here" --save

Usage

See http://cordobo.com/2269-cordova-plugin-for-nscamerausagedescription-in-ios-10/

For the changes to plugin.xml to take effect, you must refresh the ios.json file (inside the /plugin folder):

$ cordova platform rm ios
$ cordova platform add ios

Platforms

Applies to iOS 10/11 only.

License

[MIT License]

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].