mirror of
https://github.com/apache/cordova-plugin-file-transfer.git
synced 2026-04-10 00:00:03 +08:00
CB-5722 [BlackBerry10] Update upload function to use native file object
This commit is contained in:
@@ -118,7 +118,7 @@ module.exports = {
|
||||
var start = 0;
|
||||
var end = bytesPerChunk;
|
||||
while (start < file.size) {
|
||||
var chunk = file.slice(start, end, mimeType);
|
||||
var chunk = file.nativeFile.slice(start, end, mimeType);
|
||||
uploadFile(chunk);
|
||||
start = end;
|
||||
end = start + bytesPerChunk;
|
||||
|
||||
Reference in New Issue
Block a user