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
Describe the bug
When you install react-native-firebase in an expo app, it is stated in the docs that you need to set useFrameworks: 'static' with expo-build-properties for react-native-firebase to work.
You would get the following EAS build error from adding op-sqlite while having useFrameworks: 'static' enabled:
That basically makes offline mode impossible together with react-native-firebase.
This issue is pretty much a duplicate of the same issue I reported that also existed with the previous sqlite library "react-native-quick-sqlite". I'm a bit surprised that we're dealing with the same issue again after migrating to a new sqlite library: #2123
To Reproduce
Steps to reproduce the behavior:
Install react-native-firebase and set useFrameworks: 'static' in the app.json file while having op-sqlite installed for offline mode.
Run EAS build.
See EAS build error.
Expected behavior
I expect the app to work with react-native-firebase while having offline support enabled. But that is currently not possible as far as I can see.
The text was updated successfully, but these errors were encountered:
andreaslydemann
changed the title
Expo offline support and react-native-firebase
Expo offline support with op-sqlite and react-native-firebase
Feb 3, 2025
Describe the bug
When you install react-native-firebase in an expo app, it is stated in the docs that you need to set useFrameworks: 'static' with expo-build-properties for react-native-firebase to work.
Unfortunately that setting doesn't work with the library op-sqlite that is used for offline mode:
https://op-engineering.github.io/op-sqlite/docs/installation#use_frameworks
You would get the following EAS build error from adding op-sqlite while having useFrameworks: 'static' enabled:
That basically makes offline mode impossible together with react-native-firebase.
This issue is pretty much a duplicate of the same issue I reported that also existed with the previous sqlite library "react-native-quick-sqlite". I'm a bit surprised that we're dealing with the same issue again after migrating to a new sqlite library:
#2123
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expect the app to work with react-native-firebase while having offline support enabled. But that is currently not possible as far as I can see.
The text was updated successfully, but these errors were encountered: