react-native-background-upload icon indicating copy to clipboard operation
react-native-background-upload copied to clipboard

File exists returns false

Open remigijusbalc opened this issue 7 years ago • 1 comments

I'm testing on iOS 12.1. Whenever I get assets paths from CameraRoll and pass them to getFileInfo, everythings ok, it sends image but returns that file doesn't exist. Any suggestions?

screenshot 2019-01-14 at 10 03 49

remigijusbalc avatar Jan 14 '19 08:01 remigijusbalc

@remigijusbalc it expects a file:// prefix. What were you passing into getFileInfo? Also, please open xcode, debug the app, and set a breakpoint at ios/VydiaRNFileUploader.m:58. Then you can step through the native code yourself and see what's going on.

StevePotter avatar Jan 21 '19 22:01 StevePotter