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

Commits on Feb 16, 2021

  1. Fixes for App Store submission warning -"ITMS-90683: Missing Purpose …

    …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`
    Adam Law committed Feb 16, 2021
    Configuration menu
    Copy the full SHA
    9e575d2 View commit details
    Browse the repository at this point in the history