# Global variable values issues

**URL:** <https://community.thunkable.com/t/global-variable-values-issues/980900>\
**Category:** Questions about Thunkable X\
**Created:** [November 17, 2020, 8:39pm UTC](https://community.thunkable.com/t/global-variable-values-issues/980900 "2020-11-17T20:39:24Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![aiasp](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@aiasp](https://community.thunkable.com/u/aiasp)\
**Post date:** [November 17, 2020, 8:39pm UTC](https://community.thunkable.com/t/global-variable-values-issues/980900/1 "2020-11-17T20:39:24Z")

</div>

Hello i have an issue on variable,

when i navigate from one screen to one other, my variables keeps values only on web app and Preview but not on mobile version where they appears Null

why that happens ?

thanks

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [November 17, 2020, 8:51pm UTC](https://community.thunkable.com/t/global-variable-values-issues/980900/2 "2020-11-17T20:51:01Z")

</div>

What type of variables?

---

<div class="post-metadata">

**Author:** ![aiasp](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@aiasp](https://community.thunkable.com/u/aiasp)\
**Post date:** [November 17, 2020, 9:43pm UTC](https://community.thunkable.com/t/global-variable-values-issues/980900/3 "2020-11-17T21:43:37Z")

</div>

normal, not stored neither cloud

---

<div class="post-metadata">

**Author:** ![aiasp](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@aiasp](https://community.thunkable.com/u/aiasp)\
**Post date:** [November 17, 2020, 9:44pm UTC](https://community.thunkable.com/t/global-variable-values-issues/980900/4 "2020-11-17T21:44:36Z")

</div>

it happens also on app published 3 months ago and that I’ve never changed

---

<div class="post-metadata">

**Author:** ![aiasp](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@aiasp](https://community.thunkable.com/u/aiasp)\
**Post date:** [November 17, 2020, 9:45pm UTC](https://community.thunkable.com/t/global-variable-values-issues/980900/5 "2020-11-17T21:45:36Z")

</div>

in Web App or Preview it works. in iOS mobile app… no

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [November 17, 2020, 9:47pm UTC](https://community.thunkable.com/t/global-variable-values-issues/980900/6 "2020-11-17T21:47:02Z")

</div>

> [@aiasp](#):
>
> normal, not stored neither cloud

“normal” meaning an _app_ variable?

Those should keep their values when you switch screens without quitting the app.

If you create a new variable (right now, not one you already had…), initialize it to a string value (“hello”) and then display it in a label on a different screen, what happens?

---

<div class="post-metadata">

**Author:** ![aiasp](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@aiasp](https://community.thunkable.com/u/aiasp)\
**Post date:** [November 17, 2020, 9:48pm UTC](https://community.thunkable.com/t/global-variable-values-issues/980900/7 "2020-11-17T21:48:14Z")

</div>

yes APP.

that procedure works only on web app or preview but when I try it on mobile this variable on other screen returns Null

---

<div class="post-metadata">

**Author:** ![ianphaas](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ianphaas/32/73941_2.png) [@ianphaas](https://community.thunkable.com/u/ianphaas)\
**Post date:** [November 17, 2020, 9:50pm UTC](https://community.thunkable.com/t/global-variable-values-issues/980900/8 "2020-11-17T21:50:55Z")

</div>

I am currently having this problem to.

---

<div class="post-metadata">

**Author:** ![aiasp](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@aiasp](https://community.thunkable.com/u/aiasp)\
**Post date:** [November 17, 2020, 9:52pm UTC](https://community.thunkable.com/t/global-variable-values-issues/980900/9 "2020-11-17T21:52:57Z")

</div>

it’s a bug ?

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [November 17, 2020, 9:55pm UTC](https://community.thunkable.com/t/global-variable-values-issues/980900/10 "2020-11-17T21:55:20Z")

</div>

So if I Live Test this in Thunkable Live on my iPhone 11, I see “Screen1” with “hello” and when I tap the button, I see “Screen2” with “hello”.

Is it different for you?

> **[Thunkable](https://x.thunkable.com/copy/96fe06eee6c088163b0fe65551749fab)**

---

<div class="post-metadata">

**Author:** ![aiasp](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@aiasp](https://community.thunkable.com/u/aiasp)\
**Post date:** [November 17, 2020, 10:03pm UTC](https://community.thunkable.com/t/global-variable-values-issues/980900/11 "2020-11-17T22:03:03Z")

</div>

oh thanks for sharing ! your app works… but now please take a look…  
I modified as I usually do and it doesn’t works …

---

<div class="post-metadata">

**Author:** ![aiasp](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@aiasp](https://community.thunkable.com/u/aiasp)\
**Post date:** [November 17, 2020, 10:03pm UTC](https://community.thunkable.com/t/global-variable-values-issues/980900/12 "2020-11-17T22:03:43Z")

</div>

I mean, it works on Web but not on iPhone

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [November 17, 2020, 10:04pm UTC](https://community.thunkable.com/t/global-variable-values-issues/980900/13 "2020-11-17T22:04:37Z")

</div>

@aiasp If you modified it, you’ll have to share the link with me. Modified shared projects are only changed in _your_ account.

---

<div class="post-metadata">

**Author:** ![aiasp](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@aiasp](https://community.thunkable.com/u/aiasp)\
**Post date:** [November 17, 2020, 10:05pm UTC](https://community.thunkable.com/t/global-variable-values-issues/980900/14 "2020-11-17T22:05:47Z")

</div>

> **[Thunkable](https://x.thunkable.com/copy/2e0f1499629168596e3e6c5df63e3906)**

---

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [November 17, 2020, 10:10pm UTC](https://community.thunkable.com/t/global-variable-values-issues/980900/15 "2020-11-17T22:10:59Z")

</div>

That still works for me. It says “hello” on both screens. There must be a bug that’s affecting only some users…?

---

<div class="post-metadata">

**Author:** ![aiasp](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@aiasp](https://community.thunkable.com/u/aiasp)\
**Post date:** [November 17, 2020, 10:14pm UTC](https://community.thunkable.com/t/global-variable-values-issues/980900/16 "2020-11-17T22:14:41Z")

</div>

it could be… really screen2 is empty on my phone and “hello” on PC… ☹

and it happens for all my previous apps… I’m spending a lot of times in this 48 hours to understand what did I do wrong but I think it’s not my problem .

hope someone of Staff read this …

---

<div class="post-metadata">

**Author:** ![ianphaas](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ianphaas/32/73941_2.png) [@ianphaas](https://community.thunkable.com/u/ianphaas)\
**Post date:** [November 17, 2020, 10:17pm UTC](https://community.thunkable.com/t/global-variable-values-issues/980900/17 "2020-11-17T22:17:27Z")

</div>

@tatiang,

What device are you using? I am using an iPad running iPadOS 14.2.

---

<div class="post-metadata">

**Author:** ![aiasp](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@aiasp](https://community.thunkable.com/u/aiasp)\
**Post date:** [November 17, 2020, 10:18pm UTC](https://community.thunkable.com/t/global-variable-values-issues/980900/18 "2020-11-17T22:18:47Z")

</div>

MacBook Pro and iPhone 11 …now I try on iPad, good idea

---

<div class="post-metadata">

**Author:** ![aiasp](https://avatars.discourse-cdn.com/v4/letter/a/8e7dd6/32.png) [@aiasp](https://community.thunkable.com/u/aiasp)\
**Post date:** [November 17, 2020, 10:20pm UTC](https://community.thunkable.com/t/global-variable-values-issues/980900/19 "2020-11-17T22:20:56Z")

</div>

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/6/3/63a56490445d9ff4fc695872488ca4f24919157f.jpeg)

this is on iphone

---

<div class="post-metadata">

**Author:** ![ianphaas](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ianphaas/32/73941_2.png) [@ianphaas](https://community.thunkable.com/u/ianphaas)\
**Post date:** [November 17, 2020, 10:22pm UTC](https://community.thunkable.com/t/global-variable-values-issues/980900/20 "2020-11-17T22:22:07Z")

</div>

I get that same result running the demo on my iPad

[Next page](https://community.thunkable.com/t/global-variable-values-issues/980900.md?page=2)
