Skip to content

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