# Capacitor not working with firebase (onSnapshot)

**URL:** <https://forum.ionicframework.com/t/capacitor-not-working-with-firebase-onsnapshot/244194>\
**Category:** Capacitor\
**Created:** [September 12, 2024, 2:30pm UTC](https://forum.ionicframework.com/t/capacitor-not-working-with-firebase-onsnapshot/244194 "2024-09-12T14:30:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![folsze](https://avatars.discourse-cdn.com/v4/letter/f/ecd19e/32.png) [@folsze](https://forum.ionicframework.com/u/folsze)\
**Post date:** [September 12, 2024, 2:30pm UTC](https://forum.ionicframework.com/t/capacitor-not-working-with-firebase-onsnapshot/244194/1 "2024-09-12T14:30:57Z")

</div>

Has anyone else here gotten firebase working on capacitor with onSnapshot or streams (docData)? Please let me know

somehow streams do not do anything on ios for me, see this question:

> <https://stackoverflow.com/questions/78977750/angular-fire-docdata-works-on-chrome-safari-macos-but-never-emits-on-capacitor-i>

It would be a bad if this is not supported considering how many ionic-capacitor + firebase tutorials are out there that recommend using firebase with ionic capacitor. My app relies heavily on streams working, it’s a main feature at this point.

---

<div class="post-metadata">

**Author:** ![jvergara](https://avatars.discourse-cdn.com/v4/letter/j/85e7bf/32.png) [@jvergara](https://forum.ionicframework.com/u/jvergara)\
**Post date:** [October 28, 2024, 12:38am UTC](https://forum.ionicframework.com/t/capacitor-not-working-with-firebase-onsnapshot/244194/2 "2024-10-28T00:38:17Z")

</div>

Hey there, one question, are you also using Firebase auth and are you trying to emit something from auth before accessing firestore?

I’ve worked with Firebase for a while and this is the first I see this issue, if you wanna share more info I’m happy to help
