@ionic-native/file-transfer
Advanced tools
Comparing version 5.0.0-beta.1 to 5.0.0-beta.2
@@ -96,2 +96,6 @@ import { IonicNativePlugin } from '@ionic-native/core'; | ||
* | ||
* @deprecated | ||
* This plugin has been deprecated in favor of XHR2 | ||
* https://cordova.apache.org/blog/2017/10/18/from-filetransfer-to-xhr2.html | ||
* | ||
* @usage | ||
@@ -98,0 +102,0 @@ * ```typescript |
15
index.js
@@ -59,7 +59,10 @@ var __extends = (this && this.__extends) || (function () { | ||
FileTransferObject.prototype.download = function (source, target, trustAllHosts, options) { return cordovaInstance(this, "download", { "successIndex": 2, "errorIndex": 3 }, arguments); }; | ||
FileTransferObject.prototype.onProgress = function (listener) { return function () { | ||
if (instanceAvailability(this) === true) { | ||
this._objectInstance.onprogress = listener; | ||
} | ||
}(); }; | ||
FileTransferObject.prototype.onProgress = function (listener) { | ||
var _this = this; | ||
return (function () { | ||
if (instanceAvailability(_this) === true) { | ||
_this._objectInstance.onprogress = listener; | ||
} | ||
})(); | ||
}; | ||
FileTransferObject.prototype.abort = function () { return cordovaInstance(this, "abort", { "sync": true }, arguments); }; | ||
@@ -71,2 +74,2 @@ FileTransferObject.plugin = "cordova-plugin-file-transfer"; | ||
export { FileTransferObject }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvcGx1Z2lucy9maWxlLXRyYW5zZmVyL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7QUFDQSxPQUFPLHdFQUFnRixNQUFNLG9CQUFvQixDQUFDOztJQW1MaEYsZ0NBQWlCOzs7UUFFakQ7Ozs7Ozs7OztXQVNHO1FBQ0gsMkJBQXFCLEdBQUc7WUFDdEIsa0JBQWtCLEVBQUUsQ0FBQztZQUNyQixlQUFlLEVBQUUsQ0FBQztZQUNsQixjQUFjL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icNativePlugin } from '@ionic-native/core'; | ||
* | ||
* @deprecated | ||
* This plugin has been deprecated in favor of XHR2 | ||
* https://cordova.apache.org/blog/2017/10/18/from-filetransfer-to-xhr2.html | ||
* | ||
* @usage | ||
@@ -98,0 +102,0 @@ * ```typescript |
@@ -71,7 +71,10 @@ var __extends = (this && this.__extends) || (function () { | ||
FileTransferObject.prototype.download = function (source, target, trustAllHosts, options) { return cordovaInstance(this, "download", { "successIndex": 2, "errorIndex": 3 }, arguments); }; | ||
FileTransferObject.prototype.onProgress = function (listener) { return function () { | ||
if (instanceAvailability(this) === true) { | ||
this._objectInstance.onprogress = listener; | ||
} | ||
}(); }; | ||
FileTransferObject.prototype.onProgress = function (listener) { | ||
var _this = this; | ||
return (function () { | ||
if (instanceAvailability(_this) === true) { | ||
_this._objectInstance.onprogress = listener; | ||
} | ||
})(); | ||
}; | ||
FileTransferObject.prototype.abort = function () { return cordovaInstance(this, "abort", { "sync": true }, arguments); }; | ||
@@ -86,2 +89,2 @@ FileTransferObject.plugin = "cordova-plugin-file-transfer"; | ||
export { FileTransferObject }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvcGx1Z2lucy9maWxlLXRyYW5zZmVyL25neC9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQUEsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMzQyxPQUFPLHdFQUFnRixNQUFNLG9CQUFvQixDQUFDOztJQW1MaEYsZ0NBQWlCOzs7UUFFakQ7Ozs7Ozs7OztXQVNHO1FBQ0gsMkJBQXFCLEdBQUc7WUFDdEIsa0JBQWtCLEVBQUUsQ0FBQztZQUNyQixlQUFlLEVBQUUsQ0FBQztZQUNsQixjQUFjLE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RmlsZVRyYW5zZmVyRXJyb3JcbiAgICogb2JqZWN0IHdoaWNoIGhhcyBhbiBlcnJvciBjb2RlIG9mIEZpbGVUcmFuc2ZlckVycm9yLkFCT1JUX0VSUi5cbiAgICovXG4gIEBDb3Jkb3ZhSW5zdGFuY2Uoe1xuICAgIHN5bmM6IHRydWVcbiAgfSlcbiAgYWJvcnQoKTogdm9pZCB7XG4gIH1cbn1cbiJdfQ== |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":4,"metadata":{"FileUploadOptions":{"__symbolic":"interface"},"FileUploadResult":{"__symbolic":"interface"},"FileTransferError":{"__symbolic":"interface"},"FileTransfer":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@ionic-native/core","name":"IonicNativePlugin","line":180,"character":34},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":179,"character":1}}],"members":{"create":[{"__symbolic":"method"}]}},"FileTransferObject":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor"}],"upload":[{"__symbolic":"method"}],"download":[{"__symbolic":"method"}],"onProgress":[{"__symbolic":"method"}],"abort":[{"__symbolic":"method"}]}}}}] | ||
[{"__symbolic":"module","version":4,"metadata":{"FileUploadOptions":{"__symbolic":"interface"},"FileUploadResult":{"__symbolic":"interface"},"FileTransferError":{"__symbolic":"interface"},"FileTransfer":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@ionic-native/core","name":"IonicNativePlugin","line":184,"character":34},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":183,"character":1}}],"members":{"create":[{"__symbolic":"method"}]}},"FileTransferObject":{"__symbolic":"class","members":{"__ctor__":[{"__symbolic":"constructor"}],"upload":[{"__symbolic":"method"}],"download":[{"__symbolic":"method"}],"onProgress":[{"__symbolic":"method"}],"abort":[{"__symbolic":"method"}]}}}}] |
@@ -1,1 +0,1 @@ | ||
{"description":"Ionic Native - Native plugins for ionic apps","module":"index.js","typings":"index.d.ts","author":"ionic","license":"MIT","repository":{"type":"git","url":"https://github.com/ionic-team/ionic-native.git"},"name":"@ionic-native/file-transfer","peerDependencies":{"rxjs":"^5.0.1","@ionic-native/core":"5.0.0-beta.1"},"version":"5.0.0-beta.1"} | ||
{"description":"Ionic Native - Native plugins for ionic apps","module":"index.js","typings":"index.d.ts","author":"ionic","license":"MIT","repository":{"type":"git","url":"https://github.com/ionic-team/ionic-native.git"},"name":"@ionic-native/file-transfer","peerDependencies":{"rxjs":"^5.0.1","@ionic-native/core":"5.0.0-beta.2"},"version":"5.0.0-beta.2"} |
@@ -1,2 +0,2 @@ | ||
<a style="float:right;font-size:12px;" href="http://github.com/ionic-team/ionic-native/edit/master/src/plugins/file-transfer/index.ts#L106"> | ||
<a style="float:right;font-size:12px;" href="http://github.com/ionic-team/ionic-native/edit/master/src/@ionic-native/plugins/file-transfer/index.ts#L106"> | ||
Improve this doc | ||
@@ -12,3 +12,3 @@ </a> | ||
## [Usage Documentation](https://ionicframework.com/docs/native/src/plugins/file-transfer/) | ||
## [Usage Documentation](https://ionicframework.com/docs/native/file-transfer/) | ||
@@ -15,0 +15,0 @@ Plugin Repo: [https://github.com/apache/cordova-plugin-file-transfer](https://github.com/apache/cordova-plugin-file-transfer) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
48574
603