Open RDPerera opened 3 years ago
Enable the remote debugging and check what logs are indicating. Normally in there the file and line number that cause this error can be identified.
Thank you very much! I'll check it.
Hey! @RDPerera did you resolved the error?
Almost resolved.
how to resolve it? Can you please guide me? @RDPerera
Did you getting the same error ??
Yes, I guess this error occurs due to firebase( "firebase.initializeApp(config);") and so i tried using react-native-firebase, but it doesn't work.
@AbhiKul10 as I remember react-native-firebase did not work, that's why directly used firebase.
Okay!
@AbhiKul10 could you tell me how you resolved this error
@jan-code26 This error is occurring due to the line firebase.initializeApp(config);
Try updating config.js according to this -> Link (update import statement too) and also use try and catch block around firebase.initializeApp()
so that we can know what exact error is.
Expected Behavior
The app should be work normally.
Current Behavior
Shows an error "Object is not iterable".
Failure Information (for bugs)
I have following Specs that exactly matched to the latest version needed specs,
In config.js file I've replaced all those fields with relevant details according to the documentation of Go-Social var config = { apiKey: "", authDomain: "", databaseURL: "", projectId: "", storageBucket: "", messagingSenderId: "", appId: "", measurementId: "" };
Currenty I'm using Ubuntu 20.04.but I've tried on windows,the result was same. Also I tried different versions of android and different devices but that didn't work too.
I really appreciate if you can guide me to resolve this error.