cordova-plugin-code-push/typings
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
..
codePush.d.ts Switch to cordova-plugin-advanced-http for update downloads (#513) 2020-07-27 20:21:37 +03:00
replace.d.ts Adding test infrastructure and check for update end to end tests. 2015-09-30 09:20:53 -07:00