mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
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: https://github.com/facebook/react-native/pull/42293 Test Plan: CI Green Reviewed By: sammy-SC Differential Revision: D52797676 Pulled By: cipolleschi fbshipit-source-id: 98b4f99aa71828f5397276d22f35d24e48657dc8