#gmturek - App Store
1 messages · Page 1 of 1 (latest)
Hello! I believe you found what's causing the warning, but let me confirm...
Yep, it's covered in the readme here: https://github.com/stripe/stripe-ios#card-scanning
Ok. Thanks. I'll take a look.
"To enable card scanning, you'll need to set NSCameraUsageDescription in your application's plist, and provide a reason for accessing the camera (e.g. "To scan cards")."
That doesn't address my issue.
I'm not enabling card scanning.
Apple is rejecting the app because the Stripe SDK is capable of using the camera.
Right, our SDK references the code mentioned here:
Your app's code references one or more APIs that access sensitive user data.
Thus you need to set that key regardless of if you're using the functionality or not.
That's what I suspected.
The key won't be used unless you enable that functionality, but Apple wants the key there and populated anyway because the code exists.
I don't believe they will. I think the message set there is included in the prompt to allow your app to access the camera. If you don't try to access the camera it shouldn't be shown.
Thanks.