-
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: @public We can't dynamically link `WebKit` because doing so will impact cold start of all our Apps. This diff includes a few changes: 1. Weakly link the `WebKit` framework in the `ReactInternal` library, so that the compiler doesn't die when it encounters a WebKit symbol. 2. Undo dynamic linking of WebKit in Catalyst. 3. Undo dynamic linking of WebKit in AdsManager 4. Before the first `WKWebView` is instantiated, dynamically load the `WebKit` framework. The end result of these changes is that WebKit will be loaded only when it's going to be used. Reviewed By: mmmulani Differential Revision: D6564328 fbshipit-source-id: a45a44e774d0c61c1fb578a6fa3d16bb08f68ac9
- Loading branch information
1 parent
b18fdda
commit 28b058c
Showing
3 changed files
with
36 additions
and
2 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