Open yousss opened 3 years ago
import * as SecureStore from 'expo-secure-store';
"expo": "~39.0.2",
const removeToken = async () => { console.log('rest1') await SecureStore.deleteItemAsync('userInfo') console.log('rest2')
}
Dude you don't need to use this package at all. Just go to the main repository and copy the two files index.d.ts and index.js and then make a folder name redux-persist-exposecurestore and then use it.
index.d.ts
index.js
import * as SecureStore from 'expo-secure-store';
"expo": "~39.0.2",
const removeToken = async () => { console.log('rest1') await SecureStore.deleteItemAsync('userInfo') console.log('rest2')
}