Open GM-VF opened 9 months ago
One thing I should add is that the above is the nativescript ui-document-picker. Using the nativescript-image picker if I create an image and store it in my app's directory the above works fine with the following url.
/data/user/0/org.nativescript.app/files/app-name/filename.ext
Error: An unknown error occurred, please check the HTTP result code and inner exception for server response.
const file = File.fromPath(files.files[0], true);
gives me
"_path": "/storage/emulated/0/Download/877981_QSG_SSB600-SOUNDBAR_ml.pdf", "_name": "877981_QSG_SSB600-SOUNDBAR_ml.pdf", "_extension": ".pdf"
Upload
Any ideas?