# Android Firebase Value

**URL:** <https://community.thunkable.com/t/android-firebase-value/484240>\
**Category:** Questions about Thunkable X\
**Created:** [February 25, 2020, 5:15pm UTC](https://community.thunkable.com/t/android-firebase-value/484240 "2020-02-25T17:15:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![tenori](https://avatars.discourse-cdn.com/v4/letter/t/9de053/32.png) [@tenori](https://community.thunkable.com/u/tenori)\
**Post date:** [February 25, 2020, 5:15pm UTC](https://community.thunkable.com/t/android-firebase-value/484240/1 "2020-02-25T17:15:16Z")

</div>

I created a very simple app with one button, one label and one cloud variable. I added my Firebase credentials to the app.  
When I click on the button on my ipad I get the value of PhotoNum. The value is 1.  
When I click on the button on my android Samsung table or S10 I get a value of null.

It appears that the android can’t get the value from Firebase.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/1/9/19e43722be4b88fadfa1fefb1e8d5a5e1f61e674.png)

---

<div class="post-metadata">

**Author:** ![domhnallohanlon](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/domhnallohanlon/32/29554_2.png) [@domhnallohanlon](https://community.thunkable.com/u/domhnallohanlon)\
**Post date:** [February 25, 2020, 5:27pm UTC](https://community.thunkable.com/t/android-firebase-value/484240/2 "2020-02-25T17:27:42Z")

</div>

Hi @tenori,

After you create a cloud variable you get a new `changes or initializes` event in your variables drawer.

You can use this to handle the `null` value on Android

---

<div class="post-metadata">

**Author:** ![tenori](https://avatars.discourse-cdn.com/v4/letter/t/9de053/32.png) [@tenori](https://community.thunkable.com/u/tenori)\
**Post date:** [February 25, 2020, 5:39pm UTC](https://community.thunkable.com/t/android-firebase-value/484240/3 "2020-02-25T17:39:24Z")

</div>

Thanks for the reply. I tried the following and it works great on ios. The number on Firebase increments and the label shows the correct value.  
On my android tablet and phone nothing happens at all. The Firebase value doesn’t increment and Label1 text still shows “Label”.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/4/74f7dcefdf2c8c666d23b51d63dd3533e38417c2.png)

---

<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:40am UTC](https://community.thunkable.com/t/android-firebase-value/484240/4 "2024-11-08T11:40:48Z")

</div>


