import { RFStorage } from 'react-native-fast-app';
const RNStorage = { customerId: undefined ,isShow : undefined, userInfo: undefined }
RFStorage.init(RNStorage,()=> {
RNStorage.customerId='123456XXX'; // equivalent to AsyncStorage.setItem('customerId')
RNStorage.isShow = false; // equivalent to AsyncStorage.setItem('customerId')
RNStorage.userInfo = { name:'rufeng', age:30};
console.log(RNStorage.customerId); // equivalent to AsyncStorage.getItem('customerId')
})