sheetjs icon indicating copy to clipboard operation
sheetjs copied to clipboard

React-Native example don't write file in directory

Open Soniachniy opened this issue 7 years ago • 2 comments

RN version 0.60 while working, create new workbook, new sheet, convert to binary and using fs to write ascii in DocumentDirectoryPath xlsx file, but nothing is happen trying official example https://github.com/SheetJS/js-xlsx/blob/master/demos/react/react-native.js, it says that file succ created, but it's not true

Soniachniy avatar Sep 17 '19 13:09 Soniachniy

Thanks for reporting! Likely you're seeing an issue with react-native-fs . Can you confirm whether their write example works? If so, how are you testing (device or simulator, android or IOS)?

SheetJSDev avatar Sep 17 '19 13:09 SheetJSDev

Oh, writing example writing that successful but no files on directory still Testing on real device connected via usb install react-native-fs via link and adding some strings in build.grandle and settings.grandle

Soniachniy avatar Sep 17 '19 14:09 Soniachniy