# How can make some event only once until uninstall

**URL:** <https://community.thunkable.com/t/how-can-make-some-event-only-once-until-uninstall/590927>\
**Category:** Questions about Thunkable X\
**Created:** [June 2, 2020, 1:23pm UTC](https://community.thunkable.com/t/how-can-make-some-event-only-once-until-uninstall/590927 "2020-06-02T13:23:14Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![saramdl.gaunde021](https://avatars.discourse-cdn.com/v4/letter/s/ea5d25/32.png) [@saramdl.gaunde021](https://community.thunkable.com/u/saramdl.gaunde021)\
**Post date:** [June 2, 2020, 1:23pm UTC](https://community.thunkable.com/t/how-can-make-some-event-only-once-until-uninstall/590927/1 "2020-06-02T13:23:14Z")

</div>

hi. i made a function working only one time until reboot or termination (like splash)

but, how can i make some event only once UNTIL UNINSTALL? (only happen again when reinstall)  
(i think you can imagine ‘how it works’ feature at first time you launch an app)

if i use an APP variable to track my frequency to run the app, it won’t work. becuz it will lose the value if i turn of the app.  
Or if i use STORED variable, it would be work for a while. but it won’t be last if i reboot the smartphone.

Do i need to use CLOUD variable or something? and how?

i might saw the solution in here community. but i can’t remember.

---

<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:** [June 4, 2020, 8:38am UTC](https://community.thunkable.com/t/how-can-make-some-event-only-once-until-uninstall/590927/2 "2020-06-04T08:38:05Z")

</div>

Hi,

To solve your problem, use the Stored variable. If I understand everything correctly, it should work like this: first it has the value null and when you first start the app, you set it to a value. After that, you restart the app or phone and make a check when the app starts. if it is not null, then the app has already been launched for the first time.

Since stored is stored in the application folder, this variable must be deleted when the application is deleted.

What happens in your case?

---

<div class="post-metadata">

**Author:** ![saramdl.gaunde021](https://avatars.discourse-cdn.com/v4/letter/s/ea5d25/32.png) [@saramdl.gaunde021](https://community.thunkable.com/u/saramdl.gaunde021)\
**Post date:** [June 4, 2020, 8:51am UTC](https://community.thunkable.com/t/how-can-make-some-event-only-once-until-uninstall/590927/3 "2020-06-04T08:51:31Z")

</div>

omg. its my mistake.  
i just did in test mode. and i thought store variable doesn’t store the value forever.  
But i restart or reboot and did same experiment.

Store Variable just works fine.

Thank you @actech

---

<div class="post-metadata">

**Author:** ![saramdl.gaunde021](https://avatars.discourse-cdn.com/v4/letter/s/ea5d25/32.png) [@saramdl.gaunde021](https://community.thunkable.com/u/saramdl.gaunde021)\
**Post date:** [June 18, 2020, 11:57am UTC](https://community.thunkable.com/t/how-can-make-some-event-only-once-until-uninstall/590927/4 "2020-06-18T11:57:38Z")

</div>

hi. one more question.  
as i understand so far, if user update new verstion’s app in app store (or play store)  
then stored variable is gonna initiate, right?  
becuz updating an app is like delete and install new one?

or still remaining stored variable in application folder?

---

<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:** [June 18, 2020, 12:42pm UTC](https://community.thunkable.com/t/how-can-make-some-event-only-once-until-uninstall/590927/5 "2020-06-18T12:42:44Z")

</div>

I’ve never tried it, so I don’t know the answer.

---

<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:25am UTC](https://community.thunkable.com/t/how-can-make-some-event-only-once-until-uninstall/590927/6 "2024-11-08T11:25:39Z")

</div>


