Created
August 3, 2017 13:24
-
-
Save ayberkanilatsiz/768ba0f66675cf53e27571be1e74231b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
createCount(){ | |
AsyncStorage.getItem('count', (err,result) => { | |
if(!result){ | |
AsyncStorage.setItem('count', JSON.stringify({}), (err,resultt) => {}); | |
} | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment