# Firebase Listener Problem

**URL:** <https://community.thunkable.com/t/firebase-listener-problem/727940>\
**Category:** Questions about Thunkable X\
**Created:** [August 8, 2020, 1:42pm UTC](https://community.thunkable.com/t/firebase-listener-problem/727940 "2020-08-08T13:42:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![infoim70on](https://avatars.discourse-cdn.com/v4/letter/i/47e85d/32.png) [@infoim70on](https://community.thunkable.com/u/infoim70on)\
**Post date:** [August 8, 2020, 1:42pm UTC](https://community.thunkable.com/t/firebase-listener-problem/727940/1 "2020-08-08T13:42:12Z")

</div>

I am really frustrated when dealing with the real-time listener.

What I am trying to do is that when the user click Send button, it will save the message to the database. Then, the listener should listen to the data change and clone the label and show the message. However, the listener is a little bit weird…

The first iphone screenshot is captured right after click Send. It has listened to the same message over and over while the second screenshot is the expected result. It showed if I click back and go to the page again.

Any ideas? Thanks!

 ![Screenshot 2020-08-08 at 21.37.06](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/b/7/b77f90ba9a3bb332882290be097532fe5c9f688e.png)  
 ![IMG_4146](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/9/7/976c783c3cd12aa05c31a1d0d7151cd0cdd9e097.png)  
 ![IMG_4145 2](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/6/2/6230bab9b915d3516cba34ccfe9932af67fa8908.png)

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [August 9, 2020, 11:13am UTC](https://community.thunkable.com/t/firebase-listener-problem/727940/2 "2020-08-09T11:13:49Z")

</div>

In your blocks, I don’t see the block of enabling the listening function.

---

<div class="post-metadata">

**Author:** ![infoim70on](https://avatars.discourse-cdn.com/v4/letter/i/47e85d/32.png) [@infoim70on](https://community.thunkable.com/u/infoim70on)\
**Post date:** [August 10, 2020, 2:20am UTC](https://community.thunkable.com/t/firebase-listener-problem/727940/3 "2020-08-10T02:20:51Z")

</div>

Can you explain a little bit more? I am following the tutorial in this below youtube. You may start at 6:58.

[![](https://img.youtube.com/vi/QmkuI7iomlU/maxresdefault.jpg "How to Add the Realtime Listener to Your Thunkable X App") ](https://www.youtube.com/watch?v=QmkuI7iomlU)

---

<div class="post-metadata">

**Author:** ![gobassky](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/gobassky/32/77019_2.png) [@gobassky](https://community.thunkable.com/u/gobassky)\
**Post date:** [August 10, 2020, 6:13am UTC](https://community.thunkable.com/t/firebase-listener-problem/727940/4 "2020-08-10T06:13:28Z")

</div>

Can you show the whole blocks? It may not be due to the listener issue. may be your use of screen in “start” or “open” modes or using label clones (you need to remove label clones to “refresh” your page) . From your limited description, it seemed that when you re-“open” screen it worked. So, it’s either the clones were automatically removed or a fresh listener is initiated.

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 12:26pm UTC](https://community.thunkable.com/t/firebase-listener-problem/727940/5 "2024-11-08T12:26:47Z")

</div>


