Quantcast
Viewing all articles
Browse latest Browse all 17061

React Native AsyncStorage storing values other than strings

Is there any way to store values other than strings with AsyncStorage? I want to store simple boolean values for example.

AsyncStorage.setItem('key', 'ok');

Is no problem, but:

AsyncStorage.setItem('key', false);

Does not work..


Viewing all articles
Browse latest Browse all 17061

Trending Articles



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