Skip to content

Patches

Tommy Nguyen edited this page Jan 10, 2024 · 17 revisions

Overview of patches, workarounds, and compatibility layers that get applied.

Current

Description Platforms Applies to Fixed in
ReactInstanceEventListener was moved out of ReactInstanceManager Android <0.68 0.68
Patch for building with Visual Studio 2022 Windows <0.68 0.68
Patch for building with Visual Studio 2022 Windows <0.70 0.70
Workaround for Alert not showing iOS <0.71 0.71
Fix Fabric cannot be enabled on 0.72 Android <0.72 0.72
Handle DevServerHelper constructor signature change Android <0.73 0.73
Handle ReactApplication changes to getters Android <0.73 0.73

Removed since 3.0

Description Platforms Applies to Fixed in
Contain use of JCenter to 0.64 and older Android <0.65 0.65
TurboModuleManagerDelegate is only available in 0.65+ Android <0.65 0.65
OkHttp causes crash on startup when target API level 30+ Android <0.65 0.65
Patch argument type mismatch in cli prior to 6.0 Android <0.66 0.66

Removed since 2.0

Description Platforms Applies to Fixed in
RCTTriggerReloadCommandListeners replaces -[RCTBridge reload] iOS, macOS <0.62 0.62
RCTDevLoadingView doesn't show up with UIScene iOS <0.63 0.63
Images do not render on iOS 14 iOS <0.63.2 0.63.2
Mustache template was introduced in react-native-windows 0.63 Windows <0.63 0.63
Mustache template was moved out of @react-native-windows/cli [2] Windows 0.63-0.64 0.64
RCTRedBox doesn't appear in apps implementing UISceneDelegate iOS <0.64 0.64
InstanceLoaded() was added in react-native-windows 0.64 [2] [3] Windows <0.64 0.64
JavaScriptMainModuleName is deprecated Windows <0.64 0.64
Workaround for run-ios with @react-native-community/cli <5.0.2 all <0.64 0.64