Home > database >  Alternative to expo-file-system getInfoAsync
Alternative to expo-file-system getInfoAsync

Time:10-04

I have used expo in my react native project but I'm now trying to remove it. I'm looking at react-native-fs as a replacement for expo-file-system.

Is there an analog for the FileSystem.getInfoAsync method in react-native-fs?

CodePudding user response:

The closest thing that looks like the getAsyncInfo is the stat function. Though, of course you'll have to change the result you were getting from getInfoAsync.

  • Related