Git Product home page Git Product logo

Comments (11)

mikehardy avatar mikehardy commented on June 1, 2024 1

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.

mikehardy avatar mikehardy commented on June 1, 2024 1

@NobodyButMe-Haiya

  • 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.

neeteshraj avatar neeteshraj commented on June 1, 2024

@mikehardy please help

from react-native-firebase.

mikehardy avatar mikehardy commented on June 1, 2024

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.

mikehardy avatar mikehardy commented on June 1, 2024

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.

neeteshraj avatar neeteshraj commented on June 1, 2024

@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.

mikehardy avatar mikehardy commented on June 1, 2024

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.

neeteshraj avatar neeteshraj commented on June 1, 2024

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.

NobodyButMe-Haiya avatar NobodyButMe-Haiya commented on June 1, 2024

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.

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.

sunny635533 avatar sunny635533 commented on June 1, 2024

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!
image

So i guess RNSplashScreen show affect it's initialization.

from react-native-firebase.

zcmgyu avatar zcmgyu commented on June 1, 2024

(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.

#7688

from react-native-firebase.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.