OneBusAway / onebusaway-ios

OneBusAway for iOS, written in Swift.
Other
74 stars 31 forks source link

Stripe SDK should not be included in white label apps that do not accept donations #705

Closed aaronbrethorst closed 6 months ago

aaronbrethorst commented 6 months ago

Wojciech is reporting issues submitting white label apps to Apple because of this:

TMS-90683: Missing purpose string in Info.plist - Your app’s code references one or more APIs that access sensitive user data, or the app has one or more entitlements that permit such access. The Info.plist file for the “App.app” bundle should contain a NSCameraUsageDescription key with a user-facing purpose string explaining clearly and completely why your app needs the data. If you’re using external libraries or SDKs, they may reference APIs that require a purpose string. While your app might not use these APIs, a purpose string is still required

This is being caused by the Stripe SDK. It should only be included in versions of the app that accept donations, and shouldn't be included in apps that don't.