Hi im using Eartho with Firebase Auth
https://www.npmjs.com/package/#eartho/one-client-react-native
And im getting this error
AUTHENTICATION_ERROR under Firebase.InitializeApp()
I assume its related to firebase, but im not sure...
Someone maybe knows whats the problem?
Related
I am getting this error while using firestore in typescript -
exports is not defined
ReferenceError: exports is not defined
at eval (/node_modules/#firebase/firestore/dist/index.node.cjs.js?v=470e9090:5:23)
at instantiateModule (C:\Users\ADMIN\Desktop\game-store\node_modules\vite\dist\node\chunks\dep-713b45e1.js:66472:15)
I am using it with svelte kit.
I am following the docs on the firebase website and I think this error comes in getFirestore in onMount. this error happens sometimes and sometimes not.
Please help how to solve it!
I suspect there is a possible solution to your issue in a GitHub discussion I’ve found. They talk about incompatibility between firebase and svelte, but at the end someone commented this was an error caused by the imports. The comment is:
...Looks like when you import "#firebase/app" instead of "firebase/app" it works. Seems like Vite is unable to resolve "firebase/app" to "#firebase/app" because the firebase team said it actually points to "#firebase/app"...
I have been reading all through the documentation and through all of the other StackOverflow posts and am still not entirely sure if a react native expo app can have firebase analytics included or not.
I am not sure if I am supposed to use:
import * as Analytics from 'expo-firebase-analytics';
or
import analytics from "#react-native-firebase/analytics";
or if I am supposed to use googleServicesFile but I am using a web app so I don't have the file to download to add to the .pilist
I read this post and it doesn't look like it is possible: Is there any way to integrate firebase analytics into an expo react-native app without detaching?
but I also am reading through the expo documentation and it looks like it is possible: https://docs.expo.io/versions/latest/sdk/firebase-analytics/#expo-client-limitations--configuration
I am either getting errors thrown or no response when I write the events. So needless to say I am super confused. Any help would be appreciated.
We are using firebase crashlytics in react native. But the problem is when the android app crashed, crashlytics give us android native code report. Not the react native code. That is obvious since it is already compiled to native code. But the thing is we are not able to map issues into react native code. Is there any mechanism to do this automatically or manually with the minimum human involvement?
Crash Analytics won't give you detailed report in javascript. Rather it would define the screen where it crashed and the devices/OS etc. You will have to figure the crash yourself. It will give you the crash report like :
com.facebook.soloader.SoLoader.doLoadLibraryBySoName (SoLoader.java)
com.facebook.soloader.SoLoader.assertInitialized (SoLoader.java)
com.facebook.soloader.SoLoader.assertInitialized (SoLoader.java)
com.facebook.soloader.SoLoader.assertInitialized (SoLoader.java)
com.facebook.react.bridge.ReactBridge.staticInit (ReactBridge.java)
com.facebook.react.bridge.NativeMap. (NativeMap.java)
com.facebook.react.jscexecutor.JSCExecutorFactory.create
(JSCExecutorFactory.java)
com.facebook.react.ReactInstanceManager$5.run
(ReactInstanceManager.java)
*You need to have a basic native knowledge or you can google these errors and know the root cause. Also, FYI Sentry can of great help to you as it records javascript error also. Also, A/c firebase latest version 6+ now records JS errors also*
i have to implement mixpannel analytics in one of my app.
i checked out Mixpannel officail site and react-native-mixpannel
but i'm struggling how to get started with it.
How to use it from scratch and what things i need for it like firebase
or not ?
Please suggest me some article or something else from where i can implement mixpannel anaylits to my react native app
Thanks
First of all did you use react-native init AwesomeProject or expo new?
With the first one you have access to the native code for iOS and Android.
For expo you have only the JavaScript files and you can't use this SDK.
I'm working on unity + firebase project and I have a problem. when I use SignInAnonymouslyAsync on Unity Editor it works fine. but when I stop and play it again it always creates a new user for me. I trying to find the solution to solve this problem but I got nothing. anyone ever got this problem or have idea to solve it?