[ 
https://issues.apache.org/jira/browse/CB-4847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13768858#comment-13768858
 ] 

Shazron Abdullah commented on CB-4847:
--------------------------------------

See: 
https://developer.apple.com/library/prerelease/ios/documentation/AVFoundation/Reference/AVAudioSession_ClassReference/Reference/Reference.html#//apple_ref/occ/instm/AVAudioSession/requestRecordPermission:
https://devforums.apple.com/message/831921#831921

This might be tricky if compiled under iOS 6 (even though we shouldn't worry 
about it soon), not sure how you can abstract away PermissionBlock easily (it's 
just a typedef), I suppose one can conditionally compile...
                
> iOS 7 microphone access requires user permission - if denied, CDVCapture, 
> CDVSound does not handle it properly
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: CB-4847
>                 URL: https://issues.apache.org/jira/browse/CB-4847
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Media, Plugin Media Capture
>    Affects Versions: 3.0.0
>            Reporter: Shazron Abdullah
>            Assignee: Shazron Abdullah
>              Labels: ios7
>             Fix For: 3.1.0
>
>
> When denied, the console log prints "Microphone input permission refused - 
> will record only silence".
> We need to notify the user.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to