* 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>
* 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
* 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
* 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.