Using microphone with air sdk 25 and iOS 10
Hi everyone,
I am experiencing issue with the air sdk 25 and device running on iOS 10.
As explained in the air sdk 24 release notes, accessing some features now require to add information in the info.plist file.
From Release Notes Flash Player 24 AIR 24 :
Points to note
- A new feature for iOS 10 submissions requires you to add the 'purpose string' to your app when accessing a user's private data such as Camera or Photos. For information about providing keys in your app descriptor file, see Information Property List Key Reference | Cocoa Keys.
I tried to add this in my app descriptor file :
<key>NSMicrophoneUsageDescription</key>
<string>test with microphone</string>
But I got an ApplicationVerificationFailed error during the packaging. Can you confirm me that air 25 can handle this kind of addition in the app descriptor file ? What could I be doing wrong ?
Without this addition to the info.plist the app is just crashing when trying to ask for the permission.
The crash log reports :Termination Reason: TCC, This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app's Info.plist must contain an NSMicrophoneUsageDescription key with a string value explaining to the user how the app uses this data.
