"NSMicrophoneUsageDescription" in infoPlist not showing

Please provide the following:
sdk-37.0.0
Expo CLI 3.21.9 environment info:
System:
OS: macOS 10.15.5

Rejected by Apple for generic permission request for using Microphone.

modified app.json to include:
“infoPlist”: {
“NSMicrophoneUsageDescription”: “FireGuide needs access to your microphone so you can record drills.”
},

did a new build and transported it to TestFlight

The app no longer asks for recording permission (though it does still ask for notification permission)

unzipped the .ipa

opened info.plist and the new descriptor is in there:

(not sure it uploaded the screen grab there, but the new description is in the info.plist

It was working beautifully before I added the info.Plist description.
here is the code where I ask permission:
const { status } = await Permissions.askAsync(Permissions.AUDIO_RECORDING);

Any help appreciated.
Update:
Possible bug: although it no longer asks me for recording permission, when I grant notification permission it also grants recording permission.

Solved:
Once I rebooted my phone it worked.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.