vinzscam / react-native-file-viewer

Native file viewer for React Native. Preview any type of file supported by the mobile device.
MIT License
434 stars 102 forks source link

(A Document Being Saved By MyApp X) empty folder on the filesystem #151

Open vadbertalan opened 1 year ago

vadbertalan commented 1 year ago

Every time I open a file, an empty folder, named (A Document Being Saved By MyAppName X) is being created in the same directory, where X is an incremental number => each time a file is opened, a new folder is being created and X is incremented by one. As I understood it is created by the OS and it should be removed automatically, but it's not what happens, because it stays there for good.

My setup: Simulator, Iphone 14 Pro Max, iOS 16.4

"react-native-document-picker": "^9.0.1",
"react-native-file-viewer": "^2.1.5",
"react-native-fs": "^2.20.0",
"react-native": "0.72.4",