Commit Graph

1321 Commits

Author SHA1 Message Date
Richard Hua
d2e150a0c2 Send the CodePush plugin version with server requests (#560)
This allows the server to maintain backward compatibility by distinguishing between different plugins (e.g. React Native/Cordova/Windows), as well as individual versions of these plugins, without needing to use the old SDK version (which refers to the acquisition SDK, which is shared between all plugins).

This will also enable us to resolve #514, by rolling out a CDN only for newer plugin versions. (On the Cordova end at the very least, some users have plugins installed that have a whitelist of acceptable endpoints).
2016-10-10 14:56:06 -07:00
Richard Hua
22d2a146d2 Support RN 0.34 (#557)
* Upgrade example app to RN 0.34.1
* Fix Android reflection logic to support RN 0.34 (as reported in #536), while maintaining backward compatibility
* Bump package.json and update supported RN versions in README
2016-10-06 16:18:07 -07:00
Richard Hua
b8fc75fe94 Merge pull request #554 from rozele/issue550
fix(async): Changing all await calls to .ConfigureAwait(false)
2016-10-05 15:56:08 -07:00
Richard Hua
f4f66fbd30 Update README.md 2016-10-05 15:54:03 -07:00
Richard Hua
bb0d6ceed1 Merge pull request #525 from HustleInc/HEAD
[doc] advice when targeting both android/ios
2016-10-05 15:52:46 -07:00
Richard Hua
69092e2405 Update README.md 2016-10-05 14:59:43 -07:00
Richard Hua
d8bfe1475c Update compatible RN versions in README.md 2016-10-05 14:57:24 -07:00
Eric Rozell
b72bf77e25 fix(async): Changing all await calls to .ConfigureAwait(false)
The async calls in CodePush for ReactWindows can all be executed on any background thread, so adding .ConfigureAwait(false) can improve performance and reduce the likelihood of deadlock.  The blocking calls in `InitializeUpdateAfterRestart()` were hanging, but now that .ConfigureAwait(false) is used pervasively, it is no longer a problem.

Fixes #550
2016-10-05 09:47:20 -04:00
Eric Rozell
032df754f1 style(Async): Adding suffix to async static methods. (#552) 2016-10-04 22:19:20 -07:00
Eric Rozell
ea265bb1e4 Use async void for ReactMethods instead of requeueing an async action on the native module thread. (#551) 2016-10-04 22:18:34 -07:00
Eric Rozell
9396824ba1 style(CodePush): Minor cosmetic changes throughout project (#549)
Includes the following changes:
* UpdateState.Lastest -> UpdateState.Latest
* Added *Async suffix to Task returning methods
* Using DateTimeOffset in MinimumBackgroundListener
* Disposing IDisposable streams in UpdateManager.DownloadPackage
2016-10-04 12:57:30 -07:00
Richard Hua
7aa0e29183 Update ISSUE_TEMPLATE.md 2016-10-04 11:24:02 -07:00
Eric Rozell
b1ae3dcdd0 Fixing up project configurations to match latest in ReactWindows (#548)
* Fix hint path for react-native-windows .csproj

* Update project.json to 5.2.2 to match latest ReactWindows project.

* Upgrading Newtonsoft.Json to match latest in ReactWindows.
2016-10-04 11:18:18 -07:00
Eric Rozell
12469a37ef Merge pull request #545 from rozele/appRestart
fix(AppRestart): Fix update-on-app-restart for UWP
2016-10-04 11:12:49 -07:00
Richard Hua
d78529a54a Bump package.json early to avoid confusion in reported issues 2016-10-04 06:58:31 -07:00
Richard Hua
dcca46051a Merge pull request #543 from Microsoft/fix-reload-issue
Fix issue where restarts did not happen for IMMEDIATE install mode
2016-10-04 06:34:53 -07:00
Richard Hua
b08e987971 Fix issue where restarts did not happen on IMMEDIATE installs 2016-10-04 06:09:50 -07:00
Richard Hua
6d2abd11fa Merge pull request #537 from Microsoft/upgrade-example-app
Upgrade example app
2016-10-03 12:40:18 -07:00
Richard Hua
7033ef7076 Update ISSUE_TEMPLATE.md 2016-09-30 11:47:47 -07:00
Richard Hua
3090ef079e silent -> background 2016-09-29 17:18:57 -07:00
Richard Hua
c6f7cd34ce Customize demo app with more options and documentation 2016-09-29 17:09:22 -07:00
Richard Hua
66ca898ca6 Upgrade example app to RN 0.33.0 2016-09-29 14:48:16 -07:00
Richard Hua
ee3519faee Update README.md to reflect RN 0.33 support 2016-09-29 14:37:30 -07:00
Richard Hua
31522d5875 Update ISSUE_TEMPLATE.md 2016-09-28 11:32:11 -07:00
Richard Hua
b0b5b6deda Merge pull request #535 from cmcewen/android-crash
Check that the previous package is not null
2016-09-28 11:04:00 -07:00
Connor McEwen
30b27337d3 Check that the previous package is not null 2016-09-28 13:41:20 +01:00
Richard Hua
abc1c777db Merge pull request #532 from mobileDevNativeCross/patch-1
Update README.md
2016-09-26 12:39:23 -07:00
Richard Hua
f251809273 Merge pull request #533 from mobileDevNativeCross/patch-2
Update README.md
2016-09-26 12:38:32 -07:00
mobileDevNativeCross
08dce65fd2 Update README.md
codePushStatusDidChange: syncStatus -> status
2016-09-26 17:04:50 +04:00
mobileDevNativeCross
a91be2778e Update README.md
copushDownloadDidProgress: progess -> progress
2016-09-26 17:01:16 +04:00
Richard Hua
73b286da26 Merge pull request #526 from Microsoft/fix-unsupported-events
Fix usage of NativeEventEmitter
2016-09-23 17:19:29 -07:00
Richard Hua
6dc1fb8487 Fix usage of NativeEventEmitter 2016-09-23 17:13:51 -07:00
Richard Hua
d9896a5952 Update ISSUE_TEMPLATE.md 2016-09-23 14:12:44 -07:00
Richard Hua
a28ad0c715 Update ISSUE_TEMPLATE.md 2016-09-23 14:11:10 -07:00
Richard Hua
51c2c6b26b Add issue template 2016-09-23 14:08:46 -07:00
Levy Klots
19ea89192e [doc] advice when targeting both android/ios 2016-09-22 16:49:31 -07:00
Richard Hua
77182c110f Merge pull request #522 from felipecsl/fix-manifest-marging
Remove unnecessary config from AndroidManifest
2016-09-21 11:09:41 -07:00
Felipe Lima
8c4c8046c6 Remove unnecessary config from AndroidManifest
This was causing some manifest merging issues for us, however it seems
like this stuff is completely unnecessary, especially for an android
library, so I'm removing it all.
2016-09-21 10:46:38 -07:00
Richard Hua
bb04535fbe Fix bundle root location in demo app when loading from packager 2016-09-07 11:58:28 -07:00
Geoffrey Goh
f29e5c66e4 Merge pull request #500 from NewStore/fix-deprecated-Event-calls
Update deprecated iOS sendEvent method calls
2016-09-06 11:11:41 -07:00
Geoffrey Goh
dd243c4566 Merge pull request #508 from Microsoft/override-node-modules
Allow node_modules path to be overridden in codepush.gradle
2016-09-04 21:45:33 -07:00
Geoffrey Goh
f8a50d4482 allow node modules path to be overridden 2016-09-02 00:40:44 -07:00
Geoffrey Goh
a4c81549ce Merge pull request #507 from daniel-beard/dbeard_fix_implicit_conversion_warning
Fix implicit conversion warning
2016-09-01 14:26:45 -07:00
Geoffrey Goh
5ebfdf76a5 Merge pull request #506 from daniel-beard/dbeard_add_class_guard_in_initialize_method
Check against self class in initialize methods
2016-09-01 14:26:15 -07:00
dbeard
b9e356846f Fix implicit conversion warning 2016-09-01 11:54:18 -07:00
dbeard
eeddfdab9b Check against self class in initialize methods 2016-09-01 11:41:31 -07:00
Geoffrey Goh
77679d837f bump package.json version v1.14.6-beta 2016-08-31 17:37:26 -07:00
Geoffrey Goh
0deba45bd1 update compat table for readme 2016-08-31 17:35:33 -07:00
Geoffrey Goh
b88dac4287 Merge pull request #504 from Microsoft/fix-main-bundle-search
Fix main bundle search regression
2016-08-31 17:25:42 -07:00
Geoffrey Goh
1846018d26 fix android import regression 2016-08-31 17:24:46 -07:00