angularjs - Cookies in a mobile app -
i creating hybrid mobile app ionic framework.
i need persist data in dom, username , email in 1 single view don't need storage. using cookies-ngcookies angular trough service named $cookiestore
, anyways, service attached regular cookies. far, know cookies storage browser provides, when app downloaded appstore or google play?
1-) if cookies browser provides, happen cookies in case not opening app browser ?
2-) cookies still supported when download app store, or cookies supported browsers?
update
what use when create app , want persist data in dom ? user info: profile picture, name, email ?
my problem when wasn't using cookies: user logged in, , able see info in dom, once refreshes app, still logged in, info lost.
i assume use cordova/phonegap? provide sandbox supporting cookies, localstorage, ..
if work lot of data might consider local database pouchdb.
Comments
Post a Comment