You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/index.md
+9-10Lines changed: 9 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -129,7 +129,15 @@ Open the file `./ios/Podfile` and add this line inside your targets:
129
129
use_frameworks!
130
130
```
131
131
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!
133
141
134
142
### 4. Autolinking & rebuilding
135
143
@@ -257,15 +265,6 @@ To increase throughput, you can tune the thread pool executor via `firebase.json
257
265
|`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. |
258
266
|`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`. |
259
267
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
-
269
268
### Expo
270
269
271
270
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