-
Notifications
You must be signed in to change notification settings - Fork 24.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: This PR is in response to #39758 (comment) . `RCTConvert.h` currently takes an import of `<Webkit/Webkit.h>` for... one enum: `WKDataDetectorTypes`. This has a few problems: 1) RCTConvert is JS engine agnostic, it shouldn't be depending on Webkit 2) As far as I can tell, this code is dead, we also define (and use) the UIKit equivalent `UIDataDetectorTypes`. Let's just combine the two, update some JS typing, and get rid of the Webkit header import. ## Changelog: [IOS] [CHANGED] - Remove `<Webkit/Webkit.h>` import in `RCTConvert.h` Pull Request resolved: #39794 Test Plan: CI should pass Reviewed By: rshest Differential Revision: D49898701 Pulled By: NickGerleman fbshipit-source-id: 5420cb62317e1186426aae019bcc43d27c49ea26
- Loading branch information
1 parent
acb88d4
commit 452bf0f
Showing
5 changed files
with
12 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters