cordova-plugin-hotpushes
Advanced tools
Comparing version 0.4.7 to 0.4.8
{ | ||
"name": "cordova-plugin-hotpushes", | ||
"version": "0.4.7", | ||
"version": "0.4.8", | ||
"cordova": { | ||
@@ -5,0 +5,0 @@ "id": "cordova-plugin-hotpushes", |
@@ -42,2 +42,3 @@ /* global cordova:false */ | ||
* @param {Object} headers are used to set the headers for when we send a request to the src URL | ||
* @param {Boolean} copyCordovaAssets Copy the cordova assets | ||
* @param {String} documentsPath is the path to the Documents folder | ||
@@ -97,2 +98,6 @@ * @param {String} checkType defines the type of check to do to see if we have the last version | ||
if (typeof options.copyCordovaAssets === 'undefined') { | ||
options.copyCordovaAssets = true; | ||
} | ||
// optional version type for update checks | ||
@@ -241,3 +246,3 @@ // default check method uses timestamp | ||
if (this.options.type === HOTPUSH_TYPE.REPLACE) { | ||
this._syncs = [ContentSync.sync({ src: this.options.archiveURL, id: 'assets', copyCordovaAssets: true, headers: this.options.headers})]; | ||
this._syncs = [ContentSync.sync({ src: this.options.archiveURL, id: 'assets', copyCordovaAssets: this.options.copyCordovaAssets, headers: this.options.headers})]; | ||
@@ -244,0 +249,0 @@ this.debug('Start the update...'); |
Sorry, the diff of this file is not supported yet
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
23926
402