Skip to content

Conversation

@mikehardy
Copy link
Collaborator

@mikehardy mikehardy commented Jan 15, 2026

Description

the install_modules_dependencies method has existed since much longer (specifically, react-native 0.71) than our lowest supported react-native version so should be safe to add a call to it in a non-breaking change

the important thing it does is include the correct pods for modules that have been converted to TurboModules, and this fixes compile errors that do not show up on react-native 0.78 but do show up on current react-native

Related issues

Noticed this while testing fixes for the following related issue - no one else had noticed it there yet, but it was something that broke between 23.7.0 and 23.8.0 with functions converting to TurboModules

Release Summary

it is a fix commit, it should generate a new fix version

Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
    • Yes
  • My change supports the following platforms;
    • Android
    • iOS
    • Other (macOS, web)
  • My change includes tests;
    • e2e tests added or updated in packages/\*\*/e2e
    • jest tests added or updated in packages/\*\*/__tests__
  • I have updated TypeScript types that are affected by my change.
  • This is a breaking change;
    • Yes
    • No

Test Plan

This shows up in https://github.com/mikehardy/rnfbdemo/blob/main/make-demo.sh if you set the react-native-firebase version to 23.8.0 through 23.8.2, but does not show up when using 23.7.0 - indicating it was TurboModules conversion that did it

Some credit to the folks at react-native-gesture-handler (and @j-piasecki @cipolleschi) - search for my compile failure led me to that repo, and as a popular new architecture module it was a good reference to examine their podspec and see their solutions back in time as well as current state of the art


Think react-native-firebase is great? Please consider supporting the project with any of the below:

the `install_modules_dependencies` method has existed since much
longer than our lowest supported react-native version so should be safe
to call

the important thing it does is include the correct pods for modules
that have been converted to TurboModules, and this fixes compile errors
that do not show up on react-native 0.78 but do show up on current
react-native
@vercel
Copy link

vercel bot commented Jan 15, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
react-native-firebase Ready Ready Preview, Comment Jan 15, 2026 4:44pm

Review with Vercel Agent

@mikehardy mikehardy merged commit c66eb63 into main Jan 15, 2026
22 checks passed
@mikehardy mikehardy deleted the @mikehardy/turbmodule-podspec-compat branch January 15, 2026 17:23
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.

3 participants