Skip to content

Commit 76100cc

Browse files
thatzacdavismikehardy
authored andcommitted
docs(all): Update expo-build-properties instructions
1 parent dc74643 commit 76100cc

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

docs/index.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,18 @@ To use Static Frameworks on iOS, you also need to manually enable this for the p
135135
$RNFirebaseAsStaticFramework = true
136136
```
137137

138-
Expo users may use [expo-build-properties](https://docs.expo.dev/versions/v45.0.0/sdk/build-properties/#pluginconfigtypeios) to turn on `use_frameworks`. We are unsure how Expo users add variables to a Podfile and may need a community contribution to the config-plugin here to do so, PRs welcome!
138+
Expo users may use [expo-build-properties](https://docs.expo.dev/versions/v45.0.0/sdk/build-properties/#pluginconfigtypeios) to turn on `use_frameworks` by adding the following entry to their `plugins` array in `app.json`:
139+
140+
```json
141+
[
142+
"expo-build-properties",
143+
{
144+
"ios": {
145+
"useFrameworks": "static"
146+
}
147+
}
148+
]
149+
```
139150

140151
> Note `use_frameworks` [is _not_ compatible with Flipper, Hermes, React Native New Architecture or react-native 0.69.0](https://github.com/reactwg/react-native-releases/discussions/21#discussioncomment-2924919). There is already [a patch-package patch available for 0.69.0](https://github.com/mikehardy/rnfbdemo/blob/main/patches/react-native%2B0.69.0.patch) that makes it work with and without Hermes and it will be released with 0.69.1. Community support to help fix `use_frameworks` support for Hermes and New Architecture is welcome!
141152

0 commit comments

Comments
 (0)