I have had an app rejected by Apple stating that I need to implement UIRequiredDeviceCapabilities
in my info.plist due to my app requiring a camera flash. I understand the issue but I am not sure how to properly set this key. Do I create UIRequiredDeviceCapabilities
as a dictionary or array? and camera-flash as a bool or string? Any help is appreciated! Thanks!
Add this text to your app's Info.plist file:
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>camera-flash</string>
</array>
You only need a dictionary if some of the capability requirements need to be false.
Important note from docs:
For app updates, you can only maintain or relax capability requirements. Submitting an update with added requirements would prevent some customers who previously downloaded your app from running the update.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With