-
Notifications
You must be signed in to change notification settings - Fork 24.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add nullable annotations to RCTBundleURLProvider (#42293)
Summary: This PR adds nullable annotations to `RCTBundleURLProvider` also allowing to return optional (the default that will be returned when metro is not running). Not having this may lead to crashes because Swift will try to unwrap optional with nil when metro is not running. ## Changelog: [iOS] [Added] - add nullable annotations to RCTBundleURLProvider Pull Request resolved: #42293 Test Plan: CI Green Reviewed By: sammy-SC Differential Revision: D52797676 Pulled By: cipolleschi fbshipit-source-id: 98b4f99aa71828f5397276d22f35d24e48657dc8
- Loading branch information
1 parent
50bd9e3
commit 12e4a57
Showing
3 changed files
with
36 additions
and
31 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