Skip to content

Commit 61f6955

Browse files
committed
docs(ios): move static framework podfile var doc to main install
1 parent 7240128 commit 61f6955

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

docs/index.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,15 @@ Open the file `./ios/Podfile` and add this line inside your targets:
129129
use_frameworks!
130130
```
131131

132-
> 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). Community support to help fix `use_frameworks` support is welcome!
132+
To use Static Frameworks on iOS, you also need to manually enable this for the project with the following global to the top of your `/ios/Podfile` file:
133+
134+
```ruby
135+
$RNFirebaseAsStaticFramework = true
136+
```
137+
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!
139+
140+
> 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!
133141
134142
### 4. Autolinking & rebuilding
135143

@@ -257,15 +265,6 @@ To increase throughput, you can tune the thread pool executor via `firebase.json
257265
| `android_task_executor_maximum_pool_size` | Maximum pool size of ThreadPoolExecutor. Defaults to `1`. Larger values typically improve performance when executing large numbers of asynchronous tasks, e.g. Firestore queries. Setting this value to `0` completely disables the pooled executor and all tasks execute in serial per module. |
258266
| `android_task_executor_keep_alive_seconds` | Keep-alive time of ThreadPoolExecutor, in seconds. Defaults to `3`. Excess threads in the pool executor will be terminated if they have been idle for more than the keep-alive time. This value doesn't have any effect when the maximum pool size is lower than `2`. |
259267

260-
### Allow iOS Static Frameworks
261-
262-
If you are using Static Frameworks on iOS, you need to manually enable this for the project. To enable Static Framework
263-
support, add the following global to the top of your `/ios/Podfile` file:
264-
265-
```ruby
266-
$RNFirebaseAsStaticFramework = true
267-
```
268-
269268
### Expo
270269

271270
Integration with Expo is possible in both bare workflow and [custom managed workflow](https://docs.expo.io/workflow/customizing/) via [config plugins](https://docs.expo.io/guides/config-plugins/).

0 commit comments

Comments
 (0)