You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/11/15 07:13:22 UTC

[GitHub] [cordova-plugin-media] jackie-d edited a comment on issue #259: [iOs] startRecord() - Error acquiring assertion: "Required client entitlement is missing">

jackie-d edited a comment on issue #259: [iOs] startRecord() - Error acquiring assertion: "Required client entitlement is missing">
URL: https://github.com/apache/cordova-plugin-media/issues/259#issuecomment-554242581
 
 
   Hi, thank, I actually already checked that page and pointed toward [Audio Input entitlement](https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_security_device_audio-input), but thy the things I found it to be one of those entitlements from the section 'Hardened Runtime', and moreover the key string it's in the form of `com.apple.security.device.audio-input`, that's substantially different from what I would expected.
   
   i.e. for the camera _permission_ I would set a key in the form of `NSCameraUsageDescription`.
   
   Moreover, from XCode help, I find the following:
   
   > Enable hardened runtime (macOS)
   > 
   > Hardened runtime provides security protection for your apps. If you upload a macOS app to be notarized, you must enable the hardened runtime capability and declare entitlements for the functions your app requires.
   
   These evidences make me think of an Apple platforms merging issue to iOs 13, in fact, we may understand that we would talk of **`entitlements`** in a macOS environment, and of **`permissions`** in a iOs environment.
   
   So, something basically missing here.
   
   But I would like to point out that:
   ### besides the error thrown, where in some cases it may comport a feature-breaking issue, in this case, talking about `cordova-plugin-media`plugin and related methods `new Media()`, `startRecord()` and `stopRecord()`, all the features may be found correctly operating.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org