title: Cookies in a mobile app
body: <p>I am creating an Hybrid mobile app with Ionic Framework.</p>
  
  <p>I need to persist some data in the DOM, it is only Username and Email in one single view so I don't need too much storage. I am using <strong>cookies-ngCookies</strong> with Angular trough a service named <code>$cookieStore</code>, anyways, this service is attached to the regular cookies. So far, I know that the cookies is a storage that browser provides, but what about when the app is downloaded from AppStore or Google Play? </p>
  
  <p>1-) if cookies is something that the browser provides, what would happen with the cookies in this case that I will not be opening the app from a browser ?</p>
  
  <p>2-) Are cookies still supported when you download the app from a Store, or cookies are only supported by the browsers?</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>what do you use when you create an app and you want to persist data in the DOM ? like user info: profile picture, name, email ?</p>
  
  <p>My problem is that when I wasn't using cookies: the user was logged in, and he was able to see his info in the DOM, but once he refreshes the app, he was still logged in, but all the info was lost.  </p>