Skip to content

Commit

Permalink
docs(ios, use_frameworks): clarify which parts of react-native work a…
Browse files Browse the repository at this point in the history
…nd which do not (#6597)

* docs(ios, use_frameworks): clarify which parts of react-native work and which do not

Came up in mikehardy/rnfbdemo#15

* Update docs/index.md

Suggestion from @Bilal-Abdeen
  • Loading branch information
mikehardy authored Oct 9, 2022
1 parent 769bb2b commit b83a929
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,13 @@ To use Static Frameworks on iOS, you also need to manually enable this for the p
$RNFirebaseAsStaticFramework = true
```

> Note `use_frameworks` [is _not_ compatible with Flipper](https://github.com/reactwg/react-native-releases/discussions/21#discussioncomment-2924919). A fix was put in place in [react-native release 0.69.1](https://github.com/facebook/react-native/releases/tag/v0.69.1) that makes it work with and without Hermes. To use it with Hermes make sure you have set static linkage with `use_frameworks! :linkage => :static`. To use without Flipper, comment out the `:flipper_configuration` line in your Podfile. Community support to help fix `use_frameworks` support for New Architecture is welcome!
> Notes: React-Native-Firebase uses `use_frameworks`, which has compatibility issues with Flipper, Hermes & Fabric.
>
> **Flipper:** `use_frameworks` [is _not_ compatible with Flipper](https://github.com/reactwg/react-native-releases/discussions/21#discussioncomment-2924919). You need to disable Flipper by commenting out the `:flipper_configuration` line in your Podfile.
>
> **Hermes:** a fix was put in place in [react-native release 0.69.1](https://github.com/facebook/react-native/releases/tag/v0.69.1) that allows Hermes to work with `use_frameworks!`. To use `use_frameworks` with Hermes, make sure you have set static linkage with `use_frameworks! :linkage => :static`.
>
> **New Architecture:** Fabric is not compatible with `use_frameworks!`. Community support to help fix `use_frameworks` support for New Architecture is welcome!
### 4. Autolinking & rebuilding

Expand Down

1 comment on commit b83a929

@vercel
Copy link

@vercel vercel bot commented on b83a929 Oct 9, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.