Skip to content

Update the native module imports in the iOS implementation of @react-native-firebase/crashlytics#494

Merged
jamespepper81 merged 2 commits into
mainfrom
dev
Jan 19, 2026
Merged

Update the native module imports in the iOS implementation of @react-native-firebase/crashlytics#494
jamespepper81 merged 2 commits into
mainfrom
dev

Conversation

@jamespepper81
Copy link
Copy Markdown
Contributor

This pull request updates the native module imports in the iOS implementation of @react-native-firebase/crashlytics to improve compatibility with different versions of React Native. The changes ensure that the correct header files are imported depending on the project setup, which helps prevent build issues across React Native versions.

Compatibility improvements for React Native versions:

  • Updated RNFBCrashlyticsModule.h to conditionally import either <React-Core/RCTBridgeModule.h> or <React/RCTBridgeModule.h> based on availability, ensuring compatibility with both newer and older React Native setups.
  • Updated RNFBCrashlyticsModule.m to conditionally import React Native headers (RCTConvert.h, RCTLog.h, RCTUtils.h) from either <React-Core/> or <React/>, depending on which is available, for better support across React Native versions.

@jamespepper81 jamespepper81 merged commit 3e2a6ad into main Jan 19, 2026
10 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant