Skip to content

Commit 01cd00a

Browse files
fix: force app to use static linking for expo build harness
1 parent 1579b8d commit 01cd00a

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

apps/build-harness-expo/app.config.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,12 @@ module.exports = ({config}) => {
6363
favicon: './assets/favicon.png',
6464
},
6565
plugins: [
66-
['expo-build-properties', {ios: {useFrameworks: 'static'}}],
66+
[
67+
'expo-build-properties',
68+
// force static linking of RNFBApp to avoid issues with the static library being linked to the app's main executable
69+
// See: https://github.com/invertase/react-native-firebase/issues/8657
70+
{ios: {useFrameworks: 'static', forceStaticLinking: ['RNFBApp']}},
71+
],
6772
'@react-native-firebase/app',
6873
'@react-native-firebase/analytics',
6974
'@react-native-firebase/app-check',

0 commit comments

Comments
 (0)