-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
Removed core RCTConvert CoreLocation Libraries as well as reference i… #28300
Removed core RCTConvert CoreLocation Libraries as well as reference i… #28300
Conversation
…n CameraRollManager
RNTester.app (iOS): 10727424 bytes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@shergin is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
This file is still being used by some deps. One of them (which is blocking landing internally) is this one: https://github.com/react-native-community/react-native-maps/blob/72b0f77e31d18959e91acb036d5f91ab46e11ef2/lib/ios/AirMaps/AIRMapCircleManager.m#L14 I think we should copy the functionally/code there. And then try to remove it from here one more time. @maschad Can you do it? |
Thanks for the recommendation @shergin I re-added them, but my only concern is that Apple's static analyzer may still pick up the |
@maschad Nonono, I meant we need to move/copy those files to that library to break the dependency the core in this regard. After we do that, we can safely remove them from the core. I will land this one as is. But I would appreciate if you can fix that library and then open another PR that will finally delete the files from the core. 🙏 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@shergin is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
This pull request was successfully merged by @maschad in bcf2a71. When will my fix make it into a release? | Upcoming Releases |
@shergin silly me, I should have realized that 😅. Thanks for clarifying anyways, I can definitely do that 👍🏿 |
Summary
This PR is to address #28200
Even though GeoLocation was extracted from the Core, there are still libraries i.e. the CoreLocation.h library included which cause Apple to reject Apps, as mentioned here.
This removed all references to the CoreLocation library that where remaining.
Changelog
[iOS] [Removed] - Message
Test Plan