# Detect first run after install

**URL:** <https://forum.ionicframework.com/t/detect-first-run-after-install/19329>\
**Category:** ionic-v1\
**Created:** [March 18, 2015, 5:35pm UTC](https://forum.ionicframework.com/t/detect-first-run-after-install/19329 "2015-03-18T17:35:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jsrosas](https://avatars.discourse-cdn.com/v4/letter/j/c77e96/32.png) [@jsrosas](https://forum.ionicframework.com/u/jsrosas)\
**Post date:** [March 18, 2015, 5:35pm UTC](https://forum.ionicframework.com/t/detect-first-run-after-install/19329/1 "2015-03-18T17:35:01Z")

</div>

Hiya all, I’d like to create a app where right after install and first run it asks you to enter your profile information. After first run it should direct you to normal functionality. After first run profile should be accessible for editing but not ask you again to enter your information right away next time you run the app. Could I ask the app to detect a variable saved on window.storage? Then have the $state detect whether this variable has a value? If anyone could provide me some guidance. I’d greatly appreciate it.  
Thank you.

---

<div class="post-metadata">

**Author:** ![nnnnnorthhhhh](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/nnnnnorthhhhh/32/98566_2.png) [@nnnnnorthhhhh](https://forum.ionicframework.com/u/nnnnnorthhhhh)\
**Post date:** [March 18, 2015, 11:33pm UTC](https://forum.ionicframework.com/t/detect-first-run-after-install/19329/2 "2015-03-18T23:33:12Z")

</div>

There are about 4 topics or so in the last 3 pages of topics that have asked the same question, the search button on the top right is really really helpful and works well! Give it a try and see if you can get your question answered that way

---

<div class="post-metadata">

**Author:** ![jsrosas](https://avatars.discourse-cdn.com/v4/letter/j/c77e96/32.png) [@jsrosas](https://forum.ionicframework.com/u/jsrosas)\
**Post date:** [March 19, 2015, 5:17pm UTC](https://forum.ionicframework.com/t/detect-first-run-after-install/19329/3 "2015-03-19T17:17:09Z")

</div>

I saw that, looking in local storage and that’s a solution I was looking more for guidance, Is that the correct way to figure out if its a first run? Is there another way to check maybe? I did not find any results for detect fist run after install. Thanks anyways.
