Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

215
Views
How do you integrate react-native-firebase for an expo’s bare workflow setup?

Do you know the correct way to integrate react-native-firebase to an expo app? Is it possible to implement react-native-firebase (NOT the web SDK) to an expo app in the first place? And now you might be thinking “Dude, why NOT web SDK?”

Well, I want to have authentication, push notification and also, distributing the app and testing it with users is absolutely essential. To do that what’s the best possible way? Asking users to install the expo go isn’t an option. From the firebase documentation, you can see that they have the app distribution option, which doesn’t ask the user to download anything. Isn’t it?

So, what have I done already? I’ve already implemented the module. But got dozen different errors. Tried different things; nothing worked though. Following error is the latest one:

\node_modules\@react-native-firebase\auth\lib\index.js:18
import {
^^^^^^

SyntaxError: Cannot use import statement outside a module
    at wrapSafe (internal/modules/cjs/loader.js:1001:16)
    at Module._compile (internal/modules/cjs/loader.js:1049:27)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
    at Module.load (internal/modules/cjs/loader.js:950:32)

Do you know any solution for this issue with integrating firebase-react-native? Is there a work around which will yield the same results I mentioned above? What insights could you offer to this newbie?

THANKS A TON!!

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

I had a similar problem & I ended up ejecting from expo. It wasn't really that bad and I got it running just fine after that. Just keep an eye on your console when ejecting, you might receive a bunch of errors but the suggestions given in the console are immensely helpful.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!