AsyncStorage not storing value in async function. (React-Native)

后端 未结 0 610
Happy的楠姐
Happy的楠姐 2021-02-04 06:24

Code:

getMyStringValue = async () => {
  try {
    return await AsyncStorage.getItem(\'@location_data\')
  } catch(e) {
    // read error
  }

  console.log(\'         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题