---
title: "Lock web mobile application after one year for example?"  
description: "Lock web mobile application after one year for example?"  
author: "Lillian Martin"  
published: 2014-11-17  
updated: 2014-11-17  
canonical: https://www.mindstick.com/forum/12604/lock-web-mobile-application-after-one-year-for-example  
category: "android"  
tags: ["mobile development", "web application"]  
reading_time: 1 minute  

---

# Lock web mobile application after one year for example?

I have [web application](https://www.mindstick.com/articles/13069/progressive-web-application-pwas-all-you-need-to-know-about) for [mobile](https://www.mindstick.com/articles/310668/reasons-why-you-should-choose-custom-mobile-app-development-for-your-business) and I need to [lock](https://www.mindstick.com/interview/319/what-is-lock-escalation) the app after one year from using it for each [customer](https://www.mindstick.com/articles/325839/how-to-improve-your-business-level-of-customer-service), how I do that ?\
\
thanks

## Replies

### Reply by Elena Glibart

you can do that by :

set date variable in code.

compare it with the date in a customer device if less than one year

lock app

BR,


---

Original Source: https://www.mindstick.com/forum/12604/lock-web-mobile-application-after-one-year-for-example

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
