# Prevent erase data and clear cache

**URL:** <https://community.thunkable.com/t/prevent-erase-data-and-clear-cache/189375>\
**Category:** Questions about Thunkable X\
**Tags:** beginner\
**Created:** [August 20, 2019, 8:47pm UTC](https://community.thunkable.com/t/prevent-erase-data-and-clear-cache/189375 "2019-08-20T20:47:24Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![iaia](https://avatars.discourse-cdn.com/v4/letter/i/2bfe46/32.png) [@iaia](https://community.thunkable.com/u/iaia)\
**Post date:** [August 20, 2019, 8:47pm UTC](https://community.thunkable.com/t/prevent-erase-data-and-clear-cache/189375/1 "2019-08-20T20:47:24Z")

</div>

I wanted my app to be free, but I have to pay the translator’s API and the resulting banking transactions, so I came up with a way to calculate consumption, but it can be easily circumvented by clearing the cache or deleting the data. How can I prevent it?

---

<div class="post-metadata">

**Author:** ![CBVG](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/cbvg/32/32401_2.png) [@CBVG](https://community.thunkable.com/u/CBVG)\
**Post date:** [August 20, 2019, 9:23pm UTC](https://community.thunkable.com/t/prevent-erase-data-and-clear-cache/189375/2 "2019-08-20T21:23:58Z")

</div>

Have the app send the information to you as an email.

---

<div class="post-metadata">

**Author:** ![iaia](https://avatars.discourse-cdn.com/v4/letter/i/2bfe46/32.png) [@iaia](https://community.thunkable.com/u/iaia)\
**Post date:** [August 21, 2019, 4:03am UTC](https://community.thunkable.com/t/prevent-erase-data-and-clear-cache/189375/3 "2019-08-21T04:03:51Z")

</div>

@CBVG  
Thanks, you can tell me the address / section / form to communicate with the app, in my account, I only see the address for the questions on the billing.  
.

---

<div class="post-metadata">

**Author:** ![samclever](https://avatars.discourse-cdn.com/v4/letter/s/ec9cab/32.png) [@samclever](https://community.thunkable.com/u/samclever)\
**Post date:** [August 21, 2019, 4:23am UTC](https://community.thunkable.com/t/prevent-erase-data-and-clear-cache/189375/4 "2019-08-21T04:23:19Z")

</div>

Or use Firebase. Basically anytime the API is called it sends the users info to the Firebase at the same time. That way you can track it with simple code vs more advanced email API.

---

<div class="post-metadata">

**Author:** ![iaia](https://avatars.discourse-cdn.com/v4/letter/i/2bfe46/32.png) [@iaia](https://community.thunkable.com/u/iaia)\
**Post date:** [August 21, 2019, 10:52am UTC](https://community.thunkable.com/t/prevent-erase-data-and-clear-cache/189375/5 "2019-08-21T10:52:07Z")

</div>

Ciao @samclever I’m not a developer I managed to put together these few blocks that help me in my projects and I wanted to share them because I’m proud of it, and because they could help someone else.

---

<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, 12:11pm UTC](https://community.thunkable.com/t/prevent-erase-data-and-clear-cache/189375/6 "2024-11-08T12:11:50Z")

</div>


