Skip to content
Advertisement

Tag: firebase-realtime-database

I can’t figure out how to work with the object returned by Firebase get query

I’m building a React Native app with Expo and integrating Firebase (real time database) which I know has some limitations (https://docs.expo.dev/guides/using-firebase/). I’m trying to get a snapshot of the data using await get(query(… and have successfully done so, but I can’t figure out exactly what I’m working with. When I console.log it I get this: I was trying to return

Firebase – Vue database integration not working

I am trying integrating Firebase with Vue 4 application is currently getting the following error. Uncaught TypeError: db__WEBPACK_IMPORTED_MODULE_1_.default.database is not a function I am using “firebase”: “^9.0.0” “vue”: “^3.0.0” My function call is as below I tried the following the following suggestion but it didn’t work. Thank you! Answer The new modular SDK does not use namespaces anymore. So you

TypeError: Cannot read property ‘addEventListener’ of null when i want to add new elements to my database

I created a form to create new post from the auth users however im getting this error “Uncaught TypeError: Cannot read property ‘addEventListener’ of null” and cant seem to know why my script is at the end of the HTML and its an external file, I’ve used eventListener in other places and it work just fine. I’ve even checked for

Advertisement