Граф коммитов

96 Коммитов

Автор SHA1 Сообщение Дата
Igor Krasavin 29feb6f967
Fix typo and change links (#645) 2020-08-28 17:16:35 +03:00
Darron Park 395984cc69
Prevent error when publicKey or signature is an empty string (#643) 2020-08-27 18:10:33 +03:00
Ermolay Romanov 1c661bc68e
Switch to cordova-plugin-advanced-http for update downloads (#513)
* Update plugin.xml

* patch XCode 10 usage with `build.json` flags

- add build.json to pass additional flags to cordova
- use build.json to pass `UseModernBuildSystem=0` avoiding build failure

* switch from plugin-file-transfer to to raw XHR

* rollback config.xml tweak

* remove plugin-file-transfer from project

* Eliminated file-transfer from workaround hook

* fix ProgressEvent typings, TS defs, commit JS

* add cordova plugin file as an explicit dependency

* CORS: drop xhr in favor of advanced-http plugin

* fix: dependency minor version

* switch from promises to callbacks

* add dependency on plugin-zip

* fix typo

* update advanced-http dependency

* use plugin-advanced-http for all http requests

* fix body serialization

* added getDataDirectory call to ensure path

 - as discussed in #513, with move to advanced-http, the update payload
   began to fail
 - The call to getDataDirectory triggers path creation, if it doesn't
   exist yet

Co-authored-by: Alexander Goncharov <v-algonc@microsoft.com>

Co-authored-by: David Pfeffer <bytenik@bytenik.com>
Co-authored-by: unknown <david@ballstreettrading.com>
Co-authored-by: Alexander Goncharov <v-algonc@microsoft.com>
2020-07-27 20:21:37 +03:00
Igor Krasavin 253edff6d6
Remove arg for download method (#617) 2020-06-03 11:14:04 +03:00
Cameron Smith 8575c9dc5e
Cutover to new code push SDK (#563)
* Start upgrading to newest code-push sdk version

Use new DNS alias for codepush server.

* Update to lastest beta version of code-push + bump version number
2019-08-16 15:23:39 -07:00
Alexander Goncharov 6e2875a87a
Updated dependencies (#548) 2019-07-19 11:26:23 +03:00
Alexander Goncharov 48edc74165
Fix compile issue. (#539) 2019-06-11 16:24:59 +03:00
Serge Svekolnikov ad5d2eebbd Fixes random updates failures (#372) 2018-02-16 18:02:36 +03:00
Artem Egorov a9b7c70af2
Added optional errback for codePush.sync() (#363)
* Replace before-plugin-install hook to afte-plugin-install, fix istallation issue on Mac

* Added optional errback for codePush.sync()
2018-02-13 08:27:14 +03:00
Loban Rahman 0a29cf9b2a Fix TypeError when calling logError without error. (#353)
"Error in Error callbackId: TypeError: Cannot read property 'stack' of undefined"
2018-01-19 09:07:04 +03:00
Ruslan Bikkinin 3ff5958f85
Add stacktrace logging (#339)
* Add stacktrace logging

* Refactor to es6 syntax

* Replace Stacktrace with StackTrace

* Fix logic error
2017-12-26 17:20:13 +03:00
Ruslan Bikkinin 645c899081
Refactor code signing (#313)
* Refactor code-signing JS and android

* Small fixes and refactoring for JS and android

Add ignore list parameter for copying packages files
Rename unzipDir to deployDir for consistency
Fix wrong parrameters passing to verify function
Fix native android parsePublicKey method
Remove redundant line in native code

* Minor fixes for android and ios

Add MACOSX directory to ignore for hashing
Update ios native API

* Add additional signature clearing

* Bump JWT version dependency
2017-11-08 17:16:26 +03:00
Kamen Goranchev df50322281 Moved code signing verification after deployment of the update (#306) 2017-10-25 16:12:02 +03:00
afoo 70b2ff80a5 implement code signing for iOS, package hash checking for iOS and Android (#301)
* implement code signing for iOS && package hash checking for iOS and Android

* add logging
2017-10-17 13:36:06 +03:00
Sergey Akhalkov ba61bc3a6b project structure improvements
1. add package-lock.json
2. hardcode packages versions in package.json
3. update @types instead of typings/
4. fix tslint erros
5. fix compile issues
2017-09-21 16:55:57 +03:00
Ruslan Bikkinin 4d84646c47 Add preventation of code signing jwt file being hashed (#285) 2017-09-13 11:34:11 +03:00
max-mironov 533dc9a2f5 Added missing change to .ts file from #202 (was added only to js file initially) 2017-08-14 12:15:47 +03:00
max-mironov 0c7d644699 Fixed getPendingPackage do not return isMandatory prop
See https://github.com/Microsoft/cordova-plugin-code-push/issues/250 for details
2017-05-22 11:55:43 +03:00
Sergey Akhalkov 6b4342b540 fileUtil: skip “.DS_Store” and “__MACOSX” entries while copying (#215)
Native-side exception occurs while trying to copy `.DS_Store` and `__MACOSX` entries generated by macOS, so just skip them.
Fix https://github.com/Microsoft/cordova-plugin-code-push/issues/199
2017-02-15 09:56:32 +03:00
Richard Hua da962757ae Send plugin version with requests (#178)
* Update sample apps to install CodePush from the working directory
* Send the plugin version as a request header

This is just a quick PR to send the plugin version as a header in requests to the CodePush server.

The acquisition SDK version currently being sent with requests is unreliable, because it is only updated rarely, and because it is shared with the React Native plugin.

Sending the actual `cordova-plugin-code-push` version allows the server to have fine-grained recognition of the exact plugin and version, and is necessary for breaking features such as the new CDN used to distribute updates.
2016-10-18 19:42:18 -07:00
Andrew Joslin cf43e3d76c getAcquisitionManager: specific error if no version in config.xml 2016-06-13 17:57:17 -06:00
Geoffrey Goh 8545bd73da CR feedback 2016-05-24 18:34:30 -07:00
Geoffrey Goh 2081242f45 === 2016-05-24 16:39:46 -07:00
Geoffrey Goh 6cbbe19bb7 fix #126 2016-05-24 16:16:37 -07:00
Geoffrey Goh a7210fa34e fix #124 2016-05-23 16:31:01 -07:00
Geoffrey Goh 0543096b37 CR feedback 2016-05-16 13:49:04 -07:00
Geoffrey Goh 07d3aced97 retry status report if failure 2016-05-12 23:55:36 -07:00
Geoffrey Goh eb5d53637d add duration fix 2016-04-22 16:57:04 -07:00
Geoffrey Goh ab1d6ff610 remove superfluous logging 2016-04-22 16:54:10 -07:00
Geoffrey Goh f1e07746e2 fix mandatory install mode logging 2016-04-22 16:28:12 -07:00
scottbommarito ae66e60158 Merge pull request #96 from Microsoft/mandatoryInstallMode
Test improvements and mandatory install mode
2016-04-19 15:51:11 -07:00
Geoffrey Goh e96e5ac77d reportStatus changes 2016-04-15 17:16:22 -07:00
scottbommarito f92e9bb8fd fix to a mandatory install mode bug 2016-04-14 13:58:36 -07:00
scottbommarito 271773ed67 typo in localPackage.ts 2016-04-11 15:01:29 -07:00
scottbommarito 10c795d438 pass the mandatory install mode if the update is mandatory, and the regular install mode otherwise 2016-04-11 11:28:53 -07:00
scottbommarito fe5e74ff5f add minimumBackgroundDuration to install options 2016-04-04 18:29:01 -07:00
Geoffrey Goh b7da6c95d0 Merge pull request #88 from Microsoft/hash-binary-contents
Hash binary contents
2016-04-01 12:47:09 -07:00
Geoffrey Goh d5dba802a6 Update sdk.ts 2016-03-31 10:54:27 -07:00
Geoffrey Goh 42cb2f7d7b fix deployment key override 2016-03-31 02:04:03 -07:00
Geoffrey Goh ca2e02c45c remove isRunningBinaryVersion 2016-03-30 18:13:20 -07:00
Geoffrey Goh f865066cbc remove isRunningBinaryVersion 2016-03-30 17:54:57 -07:00
Geoffrey Goh 4f7fbf8c45 update to master 2016-03-29 17:56:21 -07:00
Geoffrey Goh c9de5ede69 hash binary contents 2016-03-29 17:54:04 -07:00
scottbommarito a151301c69 updated the codePush.d.ts typings file 2016-03-28 17:54:08 -07:00
scottbommarito 7003b8d92e clean up sync status switch in the wrapper callback 2016-03-28 15:18:20 -07:00
scottbommarito 12aa7dfb55 fixed "SyncStatus.SYNC_IN_PROGRESS" comment 2016-03-28 10:28:10 -07:00
scottbommarito 1bd55bde5e fixing some comments 2016-03-25 17:17:50 -07:00
scottbommarito 881b394d35 added additional tests for concurrent syncs 2016-03-25 10:57:34 -07:00
scottbommarito 45386fb3d7 Prevent multiple syncs from occurring at the same time 2016-03-24 15:38:23 -07:00
Jonathan Carter 2626cf10d5 Fixing typo 2016-03-15 13:46:54 -07:00