Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 228595

Add Disclaimer/Terms Agreement to App

$
0
0

https://developer.mozilla.org/en/docs/Web/API/Window/localStorage

-> use localStorage.getItem('itemName') to retrieve data from localstorage
-> use localStorage.setItem('itemName', 'value') to set data

there are multiple angularjs adaptions out there.. if you need it.

Keep in mind to only use localstorage for small amount of data (max 5MB)
you can only store string values --> so if you want to store an object or array use JSON.stringify and JSON.parse and if you want to store numbers use parseInt(NumberString, 10); to get the real number.


Viewing all articles
Browse latest Browse all 228595

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>