react-native-shared-preferences icon indicating copy to clipboard operation
react-native-shared-preferences copied to clipboard

Allow SetItem to non-string format?

Open EllisShen opened this issue 8 years ago • 1 comments

Hi Sriraman,

Thank you for creating this module. I have a quick question, currently the allowed format for "Value" parameter is String only. I recommend adding multiple methods to support different type, such as boolean and int in Java. Maybe we can simply add some bridge functions like setItemBoolean or setItemInt to make it work?

Thanks, -Ellis

EllisShen avatar Dec 13 '16 21:12 EllisShen

any updates on this one??? Stuck with the same issue here..

harshOnAndroid avatar Apr 10 '19 07:04 harshOnAndroid