简体   繁体   中英

App got rejected for missing Purpose String in Info.plist File Microphone, but I can't add the description in info.plist

My app got rejected because of Missing Purpose String in Info.plist File (in particular for the NSMicrophoneUsageDescription usage).

This depends on the use of react-native-permission usage and I've tried to add a purpose string in the info.plist as stated in the documentation of the module. But in my app I use also the react-native-qrcode-scanner module, and if I add the string for the NSMicrophoneUsageDescription , it will be asked to the user the usage of the microphone and the so the app gets rejected in the second approval process because I don't need this permission in my app.

Do you have any advice?

If any function of app needs to use Microphone only then app will ask user for permission. Otherwise, it won't ask it. As you only use react-native-qrcode-scanner user won't be asked for microphone permission. It will be just in your info.plist. I have also published app in appstore. And I have a bunch of unnecessary Purpose String in info.plist for react-native-permission . But it didn't cause any hamper to get approval.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM