Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
50 votes
10 answers
33k views

React-native bundling failure. ERROR MESSAGE: "While trying to resolve module 'idb'..... Indeed none of these files exist":

ERROR MESSAGE IN QUESTION: While trying to resolve module idb from file C:\Users\OG\Desktop\programming\react_native\mealstogo\MealsToGo2\node_modules\@firebase\app\dist\esm\index.esm2017.js, the ...
JohnyClash's user avatar
22 votes
4 answers
7k views

com.segment.analytics.android:analytics error while submitting my app to Google Play Console

I am trying to submit my React Native EXPO app to Google Play Store for approval, but I am getting this error: SDK Segment Analytics Android (com.segment.analytics.android:analytics), 4.9.4 collects ...
Robyn's user avatar
  • 231
18 votes
3 answers
6k views

Firebase - Perform Analytics from database/firestore data

I am using Firebase as my authentication and database platform in my React Native-Expo app. I have not yet decided if I will be using the realtime-database or Firestore database. I need to perform ...
user avatar
15 votes
5 answers
20k views

Can't find a variable atob

Screen1.js import React,{useEffect} from 'react' import {View,Text} from 'react-native' import * as firebase from 'firebase/app'; import '@firebase/firestore'; const Screen1 = props =>{ ...
Pradeep's user avatar
  • 818
15 votes
7 answers
21k views

`Firebase` package was successfully found. However, this package itself specifies a `main` module field that could not be resolved

I'm trying to read and write to firestore, use firebase's authentication, and firebase's storage within a expo managed react-native application. Full Error: While trying to resolve module `firebase` ...
Joshua Gao's user avatar
15 votes
2 answers
7k views

Expo Firebase Authentication "While trying to resolve module `idb` from file"

This is my first app. I'm trying to use Firebase for Email/Password authentication. I followed the basic tutorial https://firebase.google.com/docs/auth/web/password-auth#web-version-9, and I keep ...
KrishP's user avatar
  • 165
12 votes
4 answers
8k views

Best way to persist firebase login using expo go

I am trying to make an app in React Native using Expo Go. have successfully gotten google sign in working and it's all good. Unfortunately, the user's login does NOT persist between app relaunches. At ...
Bernard Allotey's user avatar
11 votes
2 answers
5k views

Firebase Firestore emulator on physical IOS / Android device

I'm trying to get the Firebase - Firestore database emulator to work on my physical IOS device via the Expo application while I develop. I can get Localhost to work in a browser and 10.0.2.2:(8080) to ...
eyerishluv's user avatar
10 votes
1 answer
29k views

Convert base64 string to image in react native

Problem I created a social media app with expo's react native, and wanted to add the ability to upload images. Since expo won't let you convert a file to a blob to upload, I just uploaded the base64 ...
user avatar
10 votes
2 answers
2k views

Expo SDK 48 broke Firebase Auth

I have just upgraded to Expo SDK 48 and it seems I am logged out after every refresh. I downgraded back to SDK 47, and everything works as expected. I am using firebase v9 (v9.17.1), installed with ...
r3dm4n's user avatar
  • 1,205
10 votes
3 answers
14k views

How to I get rid of Console Warning: expo-app-loading is deprecated in favour of expo-splash-screen?

I keep getting this error that says: expo-app-loading is deprecated in favour of expo-splash-screen Here's the code for my Splash Screen in App.js export default function App() { const [IsReady, ...
Jeandré De Villiers's user avatar
10 votes
1 answer
4k views

AppleSignIn (with Firebase & Expo) working locally but not on standalone

I implemented the signinWithApple button on my Expo app, and it's working perfectly locally when i use the host.exp.Exponent on Services ID in Firebase authentification tab for Apple Sign in. But ...
Ali Chahat's user avatar
10 votes
0 answers
792 views

react native EXPO Javascript Obfuscation

I am new to react native , i used Expo C.L.I and Firebase to develop a beautiful app, i want to publish this app to the play store hence i have to secure it , i am opting for JavaScript Obfuscation I ...
kimbosa's user avatar
  • 121
9 votes
1 answer
6k views

missing domain in continue url

I am trying to Authenticate with Firebase Using an Email Link in React native and expo. Here is my code const actionCodeSettings = { url: 'ndimensions-9c677.web.app', handleCodeInApp: ...
Mamunur Rashid's user avatar
9 votes
6 answers
10k views

Expo and react-native-firebase

I'm trying to integrate Firebase into my expo app using the react-native-firebase framework which has several advantages over the regular firebase package when it comes to react-native apps. However, ...
MarksCode's user avatar
  • 8,444
9 votes
3 answers
8k views

Is there a way to integrate an Expo app with firebase dynamic links without detaching?

Is there a way to integrate an Expo app with firebase dynamic links without detaching.
Sahil Tyagi's user avatar
9 votes
1 answer
10k views

Where to put google-services.json file in an expo project?

I am creating a project in Expo and want to add firebase as a real time database. and as i was following the firebase docs. there is a google-services.json file which need to placed somewhere my expo ...
Ayush Goyal's user avatar
8 votes
2 answers
10k views

Any way to use Firebase google authentication in expo (create-react-native-app) without "eject" project

As the question, for Login with google in firebase need to set google-service but if you create new react-native project with create-react-native-app there will have no "android" or "ios" folder (...
Noer Nova's user avatar
  • 233
8 votes
1 answer
2k views

Getting error when building iOS app by using EAS (Expo Application Services)

I am creating an Expo app, which I plan to publish to the app store. I have published it to the Android store so far. When I build the iOS app using EAS, I get this error, which is coming from Swift ...
soodaayush's user avatar
7 votes
1 answer
7k views

How to persist Firebase User Auth on React Native/

I have been trying to get this to work for a while now. I built my app using Expo, and a big part of it is to allow the app to be used while the user is offline. The way this is supposed to work is ...
Sebastián Rubina's user avatar
7 votes
4 answers
3k views

No native ExpoFirebaseCore module found, are you sure the expo-firebase-core module is linked properly?

Since that I'm using the package "expo-firebase-recaptcha": "^2.3.1", everytime I run the application with expo start, I receive this warning : WARN No native ExpoFirebaseCore ...
Qunther's user avatar
  • 267
7 votes
4 answers
955 views

ExpoPushTicket does not contain the corresponding PushToken in case of error, how to know which pushToken is causing error to remove it from database

I am trying to send push notifications to more than one users of my app (pretty common to send more than one users. e.g notifying all users of a new feature). When sending notifications, ...
Abid Ali's user avatar
  • 750
7 votes
1 answer
4k views

Using Expo Firebase Analytics in the Expo Go app not working

I am trying to use the expo-firebase-analytics package in the Expo Go app as a first step to making sure I have the set up correct before I see if it is working in standalone apps. However it is not ...
Scott's user avatar
  • 1,247
7 votes
0 answers
640 views

What is the right way to add google sign-in in Expo React Native that works on Android Standalone app?

I tried these three packages provided by EXPO and neither of them is working : GoogleSignIn : This is marked deprecated, does not work in expo go or web so that we can debug, only works when .apk is ...
Specter123's user avatar
7 votes
0 answers
480 views

I need an Authorized Domain for Firebase Authentication for my local Expo/React Native Project

My goal is redirect a user back to my local Expo application after he has verified his email. firebase.auth().sendSignInLinkToEmail(email, { url: // need this url to redirect back to my ...
RiskItAll's user avatar
  • 289
7 votes
2 answers
470 views

undefined is not an object (evaluating 'Wu.getRandomValues')

I am using firebase firestore for my app. Whenever I try to call firebase.firestore().collection("users"), I get undefined is not an object (evaluating 'Wu.getRandomValues'). I have no idea what this ...
Richard X's user avatar
  • 1,134
6 votes
3 answers
4k views

could not reach cloud firestore backend with firestore emulator on android emulator

My problem is that I'm unable to call firestore from the client using the firebase firestore emulator on Android emulators. I've tested multiple Android emulators. The error I'm getting suggests the ...
Gwater17's user avatar
  • 2,224
6 votes
3 answers
19k views

Firebase Firestore collection retrieval in React Native

I'm building a React Native app with Expo using the Firebase web api and trying to retrieve a collection of documents from my Firestore project. According to the documentation over at https://firebase....
Pip's user avatar
  • 182
6 votes
2 answers
3k views

Test React Native App using Firebase TestLab

Is it possible to test a React Native (Expo Managed) app using Firebase TestLab? I have not succeeded. Several possible routes, none successful thus far: 1) Is it possible to force a Robo Test to ...
user2330237's user avatar
  • 1,695
6 votes
2 answers
2k views

How to wait for persisted user from firebase auth in React Native

I use firebase auth in my React Native App (via expo), authentication works fine via an observer, including persistent user: import firebase from "firebase"; firebase.auth().onAuthStateChanged(user =...
Schneyer's user avatar
  • 1,247
6 votes
5 answers
13k views

How to Debug White Screen Page (No Content Showing) in RN Expo App with No Error Prompts

I've been building an app in React Native Expo. First, I incorporated Facebook Login simply by copying and pasting the login async code into Login.js and added this.login() to componentWillMount. This ...
nadiabcarmon's user avatar
6 votes
1 answer
2k views

Firebase Cloud Function - Triggering Expo SDK to Push Notifications to Users

I am working on an app based of Expo - I decided to use firebase as a backend but had come up to a blocker, I need to send push notifications to the users in the app - but Expo doesn't work with ...
Sufiyaan Mitha's user avatar
6 votes
3 answers
1k views

Expo Firebase Auth Persistence Not Working As Expected

I have a firebaseConfig.js that looks like this: import { initializeApp } from "firebase/app"; import { initializeAuth } from "firebase/auth"; import { getReactNativePersistence } ...
LukeVenter's user avatar
6 votes
1 answer
1k views

react-native-google-mobile-ads with Expo managed workflow will not work

I have followed all of the most up-to-date guides and suggestions for getting react-native-google-mobile-ads to work with an Expo managed workflow, including these: How to use react-native-google-...
Muzly's user avatar
  • 83
6 votes
0 answers
388 views

Deep links from firebase dynamic links to expo go

So i am using firebase dynamic links, created a link and it opens the downloadeble/production app in the playstore and appstore. And on the web it opens the URL so all that works fine. But i am ...
Sander van Maastricht's user avatar
6 votes
0 answers
1k views

Expo - Remote Config: Indexed DB is not supported by current browser

I have an expo app and tried to add Firebase support to use their remote-config service. I am testing it in this code // Import the functions you need from the SDKs you need import { initializeApp } ...
gygabyte's user avatar
  • 216
6 votes
1 answer
770 views

React-Native Firebase Snack Expo Failed to resolve dependency

I'm receiving this error in Snack Expo when I try to use firebase: package.json (7:5) Failed to resolve dependency '[email protected]' (Can't resolve '' in '/tmp/snackager/snackager/buildStatus/1/...
kmfonagy's user avatar
6 votes
2 answers
4k views

How to compress videos in Expo before uploading to Firebase Storage?

I would like to know how can I compress videos from Expo/React Native/Nodejs, in order for them to be lighter before uploading them to Firebase Storage. An example of this is Whatsapp, a phone-...
Franco Muñiz's user avatar
5 votes
3 answers
10k views

react-native flatlist images flicker when list state updating

I have populated a FlatList with data fetched from Google's firebase backend. The implementation is rather standard, here's a stripped down version: export default class Day extends Component { ...
xiaolingxiao's user avatar
  • 4,865
5 votes
3 answers
8k views

Error: FIREBASE FATAL ERROR: Cannot parse Firebase url. Please use https://<YOUR FIREBASE>.firebaseio.com but database url is not firebaseio.com expo

I'm using Expo SDK for my ios app, when I try to write data in the firebase database but I'm getting the error. Error: FIREBASE FATAL ERROR: Cannot parse Firebase URL. Please use https://.firebaseio....
gangata arun's user avatar
5 votes
1 answer
1k views

expo: how to load different google-services-json based on release channel expo

I have a different google-service.json file for every releaseChannel (a file for prod, stage, QA, and dev) for more details I want to implement push notifications but in a different environment. cuz I ...
DarkSide77's user avatar
5 votes
2 answers
4k views

Already installed @react-native-async-storage/async-storage with expo install but deprication warning won't go away

I have this warning in React Native Expo: AsyncStorage has been extracted from react-native core and will be removed in a future release. It can now be installed and imported from '@react-native-async-...
Deon Dazy's user avatar
  • 153
5 votes
2 answers
7k views

Firebase: Error (auth/invalid-value-(email), starting an object on a scalar field

I am implementing firebase into my application for the first time. I am receiving this error: "Firebase: Error (auth/invalid-value-(email),-starting-an-object-on-a-scalar-field-invalid-value-(...
Corey Sutton's user avatar
  • 1,049
5 votes
3 answers
2k views

Expo: "auth/operation-not-supported-in-this-enviroment"

I develop a react-native (expo) mobile app and try to sign in with a google account to firebase, but I get an error: "auth/operation-not-supported-in-this-enviroment. This operation is not ...
AL1ve1T's user avatar
  • 105
5 votes
4 answers
2k views

TypeError: (0 , _auth.getReactNativePersistence) is not a function

I am getting this error when trying to use getReactNativePersistence in Expo with React Native. "expo": "^49.0.0" and "firebase": "^10.3.0" This is my code: ...
drab's user avatar
  • 486
5 votes
1 answer
2k views

How to use firebase login with expo

I was following the instructions on Expo's docs, however I was not sure what goes where. I installed firebase using npm. Then the next step is to copy my firebase setup info, which I did from the ...
NSCoder's user avatar
  • 1,664
5 votes
2 answers
1k views

installing firebase with expo

I am using expo cli to build a react native mobile application, and I am trying to install firebase to add chat and notifications features, and I am getting this error when applying this command expo ...
Programmer's user avatar
5 votes
5 answers
2k views

Using local emulator for firebase with expo

I am trying to firebase to emulate locally for testing a react native app I am working on with expo. To that end I am trying to set the host of the functions and firestore to the proper port on local ...
Wackaman's user avatar
  • 161
5 votes
1 answer
2k views

expo push notifications using firebase cloud functions in react native

Seeing this tutorial on https://www.youtube.com/watch?v=R2D6J10fhA4, I am trying to implement Send Push Notifications ( Expo + Firebase Cloud Functions) I'm trying to write a cloud function that will ...
user8398107's user avatar
5 votes
1 answer
4k views

expo constants not working on web anymore (empty manifest object)

i'm using firebase Auth in my expo app (Google Auth) and in order to do that, I need to set my firebase variables in a .env file (my API_KEYS, AuthDomain ...). I'm using expo constants to get those ...
ghostgarrix's user avatar

1
2 3 4 5
17