Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes for App Store submission warning - "ITMS-90683: Missing Purpose String in Info.plist" #188

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lawmaestro
Copy link

  • Added compiler flag GALLERY_USE_LOCATION which is used to partition usage of CoreLocation. If the flag isn't set then the option within Camera to record the location is not available.
  • This change forces consumers of the framework to define GALLERY_USE_LOCATION should they wish to compliment photos with location information.
  • By introducing this compiler flag we're able to conditionally remove dependencies on CoreLocation when we're not interested in using location information. This in turn avoids the needles requirement to set a NSLocationWhenInUseUsageDescription key in the Apps plist file regardless.
  • By having a better way to address this warning this will avoid future App Store rejections when Apple make the inclusion of a NSLocationWhenInUseUsageDescription string mandatory when using CoreLocation.
  • Up-versioned to 2.5.0 as this will be a breaking change for consumers using the recordLocation property on Camera.
  • Updated README.md

…String in Info.plist"

  * Added compiler flag `GALLERY_USE_LOCATION` which is used to partition usage of `CoreLocation`. If the flag isn't set then the option within `Camera` to record the location is not available.
  * This change forces consumers of the framework to define `GALLERY_USE_LOCATION` should they wish to compliment photos with location information.
  * By introducing this compiler flag we're able to conditionally remove dependencies on `CoreLocation` when we're not interested in using location information. This in turn avoids the needles requirement to set a `NSLocationWhenInUseUsageDescription` key in the Apps plist file regardless.
  * By having a better way to address this warning this will avoid future App Store rejections when Apple make the inclusion of a `NSLocationWhenInUseUsageDescription` string mandatory when using `CoreLocation`.
  * Up-versioned to `2.5.0` as this will be a breaking change for consumers using the `recordLocation` property on `Camera`.
  * Updated `README.md`
@lawmaestro
Copy link
Author

This PR addresses the issue highlighted here

@lawmaestro
Copy link
Author

Is there any update on the above? 👆

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant