# Stored and Cloud Variables are not working

**URL:** https://community.thunkable.com/t/stored-and-cloud-variables-are-not-working/176948
**Category:** Questions about Thunkable X
**Created:** [August 11, 2019, 1:31am UTC](https://community.thunkable.com/t/stored-and-cloud-variables-are-not-working/176948 "2019-08-11T01:31:11Z")
**Posts on this page:** 9
**Page:** 2

<div class="post-metadata">

### Author: ![infiniment.soi.appfb](https://avatars.discourse-cdn.com/v4/letter/i/b19c9b/32.png) [@infiniment.soi.appfb](https://community.thunkable.com/u/infiniment.soi.appfb)
#### Post date: [April 23, 2020, 8:02pm UTC](https://community.thunkable.com/t/stored-and-cloud-variables-are-not-working/176948/21 "2020-04-23T20:02:38Z")

</div>

SOLVED

Thanks a lot, it works and to avoid double counting I use those blocs…  
=\> It’ correct for you?

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/a/d/ad58e705e884dab8a9fb9e6418b3073b4b491838.png)

++

---

<div class="post-metadata">

### Author: ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)
#### Post date: [April 23, 2020, 8:10pm UTC](https://community.thunkable.com/t/stored-and-cloud-variables-are-not-working/176948/22 "2020-04-23T20:10:02Z")

</div>

glad it works!

code looks good. i wonder why you have the same list twice?

---

<div class="post-metadata">

### Author: ![infiniment.soi.appfb](https://avatars.discourse-cdn.com/v4/letter/i/b19c9b/32.png) [@infiniment.soi.appfb](https://community.thunkable.com/u/infiniment.soi.appfb)
#### Post date: [April 23, 2020, 8:16pm UTC](https://community.thunkable.com/t/stored-and-cloud-variables-are-not-working/176948/23 "2020-04-23T20:16:16Z")

</div>

Good question, before to be able to work with stored I worked with app variable and up to now I didn’t remove the app one =\> you think I can remove the app variable?

=\> Does stored variable has the same performance as app one? I mean does they make some lag?

Thanks again for your implication

---

<div class="post-metadata">

### Author: ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)
#### Post date: [April 23, 2020, 8:29pm UTC](https://community.thunkable.com/t/stored-and-cloud-variables-are-not-working/176948/24 "2020-04-23T20:29:47Z")

</div>

Ahh! Yes. With a stored variable you will experience a performance lag as compared to app type variables. But, unless your users will need to quickly switch the value of the stored variable, they wont really notice. I only notice when I use a stored variable as a counter. The user can count 3-4X per second. With an app variable as the counter variable, this is much higher. 10-15X per second.

---

<div class="post-metadata">

### Author: ![awesome\_coder](https://avatars.discourse-cdn.com/v4/letter/a/d9b06d/32.png) [@awesome\_coder](https://community.thunkable.com/u/awesome_coder)
#### Post date: [December 11, 2020, 5:42am UTC](https://community.thunkable.com/t/stored-and-cloud-variables-are-not-working/176948/25 "2020-12-11T05:42:32Z")

</div>

Usually, Whenever I also reload a page, the cloud variables also say null. I know that null means not set. How do I solve this problem?

---

<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: [December 11, 2020, 7:05am UTC](https://community.thunkable.com/t/stored-and-cloud-variables-are-not-working/176948/26 "2020-12-11T07:05:17Z")

</div>

Cloud variables are stored in Firebase. To do this, it is better to use your Firebase database, rather than the developer database (which is done by default).

After that, you should check whether the value of the cloud variable is actually written to your Firebase database and is there at the time of reading this value using the cloud variable.

---

<div class="post-metadata">

### Author: ![awesome\_coder](https://avatars.discourse-cdn.com/v4/letter/a/d9b06d/32.png) [@awesome\_coder](https://community.thunkable.com/u/awesome_coder)
#### Post date: [December 18, 2020, 6:42am UTC](https://community.thunkable.com/t/stored-and-cloud-variables-are-not-working/176948/27 "2020-12-18T06:42:21Z")

</div>

I’m a bit new so could you please help me on how to do the firebase

---

<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: [December 18, 2020, 1:54pm UTC](https://community.thunkable.com/t/stored-and-cloud-variables-are-not-working/176948/28 "2020-12-18T13:54:06Z")

</div>

See [Realtime DB by Firebase - ✕ Docs](https://docs.thunkable.com/realtime-db)

---

<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, 11:31am UTC](https://community.thunkable.com/t/stored-and-cloud-variables-are-not-working/176948/29 "2024-11-08T11:31:50Z")

</div>



[Previous page](https://community.thunkable.com/t/stored-and-cloud-variables-are-not-working/176948.md?page=1)
