# "New Version Available" button

**URL:** <https://community.thunkable.com/t/new-version-available-button/1688748>\
**Category:** Questions about Thunkable X\
**Created:** [January 23, 2022, 1:46pm UTC](https://community.thunkable.com/t/new-version-available-button/1688748 "2022-01-23T13:46:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![maurizio.polverini89](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/maurizio.polverini89/32/145191_2.png) [@maurizio.polverini89](https://community.thunkable.com/u/maurizio.polverini89)\
**Post date:** [January 23, 2022, 1:46pm UTC](https://community.thunkable.com/t/new-version-available-button/1688748/1 "2022-01-23T13:46:00Z")

</div>

Hi there,

what’s the best way you’re using to make appear a “New Version Available” button when you upload a new release and want your users to download it straight away?  
And what’s your trigger?  
I was thinking something like:  
if (version \< value).then (button.visibility.true)

But i didnt find such “block”, may you help?

---

<div class="post-metadata">

**Author:** ![Dean\_Artis](https://avatars.discourse-cdn.com/v4/letter/d/a8b319/32.png) [@Dean\_Artis](https://community.thunkable.com/u/Dean_Artis)\
**Post date:** [January 23, 2022, 2:04pm UTC](https://community.thunkable.com/t/new-version-available-button/1688748/2 "2022-01-23T14:04:00Z")

</div>

Store the value of the newest app version on a website, spreadsheet, Firebase etc.

When the user opens the app have the app check it’s current version against the latest version online.

If the app version = latest then let the user continue.

If app version \< latest version then give user the option to upgrade to the newest version.

There is no block for this, you will have to create your own.

---

<div class="post-metadata">

**Author:** ![maurizio.polverini89](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/maurizio.polverini89/32/145191_2.png) [@maurizio.polverini89](https://community.thunkable.com/u/maurizio.polverini89)\
**Post date:** [January 23, 2022, 2:15pm UTC](https://community.thunkable.com/t/new-version-available-button/1688748/3 "2022-01-23T14:15:26Z")

</div>

This is what i thought too, but how i can determinate the user’s version?

I was thinking of:  
if user version \< latest, show the button.  
On click button \> increase +1 version user.

But what if the user clicks the button and at the end he doesnt update?  
The button will do a +1 on user’s version, but in fact he will still have the oldest one.

What i meant if there’s a way, similar to a block that shows automatically the version number of the app

---

<div class="post-metadata">

**Author:** ![Dean\_Artis](https://avatars.discourse-cdn.com/v4/letter/d/a8b319/32.png) [@Dean\_Artis](https://community.thunkable.com/u/Dean_Artis)\
**Post date:** [January 23, 2022, 2:49pm UTC](https://community.thunkable.com/t/new-version-available-button/1688748/4 "2022-01-23T14:49:19Z")

</div>

When you create the app for the first time you can call it Version 1.0. Store this inside the app itself.

When user successfully updates then set the stored version to stored version + 1, but if they don’t update then leave the version as it is.

Eg

If app version \< latest version  
Then Ask User to Update.

If User wants to update  
Then Update App  
Else Let user continue using app

**After** the app is updated successfully set app version to latest version. Ensure the version is stored in the app itself.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [April 23, 2022, 2:49pm UTC](https://community.thunkable.com/t/new-version-available-button/1688748/5 "2022-04-23T14:49:51Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
