Skip to content

Commit 6a217b6

Browse files
authored
Add a note for iOS10+ about camera authorization in README.md
1 parent 8b377fa commit 6a217b6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ cordova plugin add ../ImageDetectionCordovaPlugin
2121
### IOS
2222
- The plugin aims to be used with iOS version >= 7.
2323
- **Important!** Go into src/ios folder and extract opencv2.framework from the zip file into the same folder.
24+
- Since iOS 10, `<key>NSCameraUsageDescription</key>` is required in the project Info.plist of any app that wants to use Camera. To add it, just open the project in XCode, go to the Info tab and add the `NSCameraUsageDescription` key with a string value that explain why your app need an access to the camera.
2425

2526
### Note
2627
In *config.xml* add Android and iOS target preference

0 commit comments

Comments
 (0)