Gallery
Gallery copied to clipboard
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 ofCoreLocation
. If the flag isn't set then the option withinCamera
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 aNSLocationWhenInUseUsageDescription
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 usingCoreLocation
. - Up-versioned to
2.5.0
as this will be a breaking change for consumers using therecordLocation
property onCamera
. - Updated
README.md
This PR addresses the issue highlighted here
Is there any update on the above? 👆