iOS: problem requesting access to microphone


#1

Hello,

I got the message below from Apple iTunes Connect revision. How do I resolve that problem? I just call

RuntimePermissions::request(RuntimePermissions::recordAudio, runtimPermissionsCallback);

(The microphone is used to capture sound from the guitar)

Best regards,
Eigil

Message from Apple:
"
Mar 6, 2018 at 4:54 PM
From Apple
5. 1.1 Legal: Privacy - Data Collection and Storage
Guideline 5.1.1 - Legal - Privacy - Data Collection and Storage

We noticed that your app requests the user’s consent to access their microphone but does not clarify the use of this feature in the permission modal alert.

Please see attached screenshots for details.

Next Steps

To resolve this issue, please revise the permission modal alert to specify why the app is requesting access to the user’s microphone.

Resources

To learn more about requesting the user’s permission to access app features, visit the iOS Human Interface Guidelines. You may also want to review the Technical Q&A QA1937: Resolving the Privacy-Sensitive Data App Rejection page for details on how to provide a usage description for permission request alerts.

"


#2

Have you enabled the microphone access permission in the Projucer’s iOS exporter?


#3

You’ll need to provide a more informative message when you ask for the user’s permission. We’ve recently added the ability to customise this more easily if you build the Projucer from the develop branch of JUCE:

Otherwise you can manually edit your app’s info.plist after you’ve saved your project.


#4

The develop branch sems to have done the trick!

Thanks!


#5

Ah yes! I was encountering similar problem with requesting access to microphone. Got it resolved by allowing the access thanks ed95 :slight_smile:

Arjun Dixit
https://showbox.onl/ https://dltutuapp.com/