Comments (11)
Oh, as far as I know this package does not support New Architecture at all. It has not been converted.
New Architecture: Fabric is not compatible with use_frameworks!. Community support to help fix use_frameworks support for New Architecture is welcome!
https://rnfirebase.io/#altering-cocoapods-to-use-frameworks
Because New Architecture has historically not been compatible with use_frameworks!
and that is a strict requirement of our underlying firebase-ios-sdk, there has been no attempt to make react-native-firebase compatible with new architecture yet
I recognize that this has just recently changed upstream (in just the last couple of months...use_frameworks is supposed to work now) so this will be an area of work in the future.
Until there is a release (noted in our changelog) where new architecture support is added and tested working I would have no expectation new architecture works
from react-native-firebase.
- your comment does not seem to be related to any of the context in this issue?
- "the developer" --> it is open source, you are the developer. I help maintain this repo but I'm just a developer alongside you. In open source if you must have things work you must invest the time to have things work, otherwise you must wait
- fully automated start-to-finish working react-native-firebase integration demonstration: https://github.com/mikehardy/rnfbdemo/blob/main/make-demo.sh
from react-native-firebase.
@mikehardy please help
from react-native-firebase.
Very strange.
It appears you have a react-native that is modern enough (0.73.2 is the current release...)
It appears you are using the most current up to date google services plugin (4.4.0 is the current release...)
This should be working.
There is a slight chance that backing the google services plugin down to 4.3.15 could make it work for you but I will be very surprised by that - it would be a data point that goes against our current hypothesis in this area
from react-native-firebase.
I use this script to verify everything is working together, and last I checked (a week or so ago...) everything was working fine.
https://github.com/mikehardy/rnfbdemo/blob/main/make-demo.sh
I will re-run it now but I expect everything will be working, and if so then I'm not sure what is different between your project and that script, but I would suggest a read of the script (it has comments explaining what it does...) so that hopefully the difference becomes apparent
from react-native-firebase.
@mikehardy It works fine with new architecture enabled. But once the bridgeless mode is enabled along with new architecture it starts giving the error.
from react-native-firebase.
I recognize your specific use case isn't handled yet (new architecture + bridgeless mode) but despite wishing it worked even myself, this is expected behavior so I'm going to close this.
If the module doesn't work using old architecture (or, I suppose new architecture with the new bridge for non-converted modules like this one...) then we can reopen of course
from react-native-firebase.
I recognize your specific use case isn't handled yet (new architecture + bridgeless mode) but despite wishing it worked even myself, this is expected behavior so I'm going to close this.
If the module doesn't work using old architecture (or, I suppose new architecture with the new bridge for non-converted modules like this one...) then we can reopen of course
yep it works with new architecture only or old architecture only but with bridgeless enabeld and new architecture enabled it gives the error message.
from react-native-firebase.
I recognize your specific use case isn't handled yet (new architecture + bridgeless mode) but despite wishing it worked even myself, this is expected behavior so I'm going to close this.
If the module doesn't work using old architecture (or, I suppose new architecture with the new bridge for non-converted modules like this one...) then we can reopen of courseyep it works with new architecture only or old architecture only but with bridgeless enabeld and new architecture enabled it gives the error message.
any sample which work ? . or you try work out of da box ? we use the same version 0.73.2 and get above title message. We just hope get update from the developer in few weeks.. hope..
from react-native-firebase.
I got the same error in ios.First time i put [FIRApp configure]
after this line [RNSplashScreen show]
,then I got the error " No Firebase App '[DEFAULT]' has been created - call firebase.initializeApp() ". But then i add [FIRApp configure]
before the [RNSplashScreen show]
, everything is ok!
So i guess RNSplashScreen show
affect it's initialization.
from react-native-firebase.
(Maybe) When this PR is merged, it will address the issue related to bridgeless mode being enabled by default in react-native 0.74.0.
from react-native-firebase.
Related Issues (20)
- [π] π₯ Android - Crashlytics - JavaScriptError Cannot read property '_nativeTag' of null HOT 1
- React-Native POST_NOTIFICATIONS permission/ Firebase Clound Messaging dont work in release mode Android HOT 2
- iOS App Check - [appCheck/token-error] The operation couldn't be completed. (com.firebase.appCheck error 0.) HOT 3
- [π] Bug Report Title - IN-APP NO SHOW IN MY DEVICE HOT 1
- [π] getInitialNotification returns old notification data on Android HOT 10
- π₯ [π] Crashlytics "undefined Unable to resolve module fs" if import @react-native-firebase/crashlytics HOT 4
- Firebase Push Notification Data Inconsistency and Open Rate Issues HOT 1
- [π] Bug Report Title - CHANGE ME The token obtained by getToken has always been an invalid token
- [React Native][iOS] Consent mode v2
- :fire: You need to update react-native-firebase to get new firebase-ios-sdk that complies with App Store Privacy Manifest requirements HOT 8
- Firestore encountered gRPC-C++ error while upgrading Firebase module to 19.2(iOS) HOT 1
- [π] Documentation Issue - site was down, it is back up HOT 1
- [π₯] Fastlane (iOS) error during compile error on this library HOT 3
- :app debug:x86 failed to configure C/C++ Failed C/C++ configuration. java.lang.IllegalStateException: Failed C/C++ configuration. HOT 3
- [π] AppCheck usage sky rockets after update HOT 2
- [π] Invariant Violation: `new NativeEventEmitter()` requires a non-null argument. HOT 1
- [π] π₯ @react-native-firebase/messaging (Android) - Messaging() gets the wrong ReactContext when there is another Activity instantiated by ReactInstanceManager? HOT 10
- π₯Can't able to run react native android app with @react-native-firebase/perf": "19.1.0 and above HOT 1
- iOS Data Only FCM messages not reaching device HOT 3
- On iOS onMessage event is not firing in Foreground HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-firebase.