Closed radhe12 closed 6 years ago
@radhe12 based on the info above the last line prints
S: Status: complete
Can you post the error log?
closing due to inactivity
@tsonevn @NickIliev here is my question with web api please let me know if I am doing anything wrong - https://stackoverflow.com/questions/48708574/error-during-upload-in-nativescript
I am running app on android file Upload of android give's me error - "Error during upload" here is my code. `camera.takePicture({ width: 200, height: 200, keepAspectRatio: true, saveToGallery: true })
.then(function (imageAsset) { console.log("Result is an image asset instance"); console.log("Image taken!"); filepath = fs.path.join(android.os.Environment.getExternalStoragePublicDirectory(android.os.Environment.DIRECTORY_DCIM).getAbsolutePath(), "Test" + ".jpg");
--------------Output------------------ JS: Status: progress JS: current bytes transfered: 4096 JS: Total bytes to transfer: 129388 JS: ---------------- JS: Status: progress JS: current bytes transfered: 129388 JS: Total bytes to transfer: 129388 JS: ---------------- JS: Status: complete