Commit Graph

26 Commits

Author SHA1 Message Date
Max
c43b0b16ce Added new CodePushDemoApp for RN 0.49 and upper. Rename old demo to CodePushDemoApp-pre0.49 (#1054) 2017-10-23 16:13:43 +03:00
max-mironov
b70465f9b6 Updated Android/ios parts for DemoApp with RN0.47.1 2017-08-03 11:48:11 +03:00
Alexander Bodalevsky
6a1d1ffcac WPF:WINDOWS Added ability to update application installed in Program Files folder (#813)
* Updated Windows Example

* Organized usings

* Fix for update application in write protected folder

* Typo fixed

* Examples updated to RNW 0.43.0

* Fixed Warning  CS0108
2017-06-16 13:52:06 +03:00
max-mironov
5ece19bc93 Fixed codepush init in demo (#804)
* Fixed jsCodeLocation init in demo app

* Added missing react-native-windows dependency
2017-04-24 10:06:07 +03:00
max-mironov
7462ee4e02 Updated CodePushDemoApp for RN 0.43 (#785) 2017-04-10 08:51:43 +03:00
max-mironov
ae271f359e Bump CodePushRN Example dependency for RN 0.43 2017-04-07 10:54:20 +03:00
Alexander Bodalevsky
be96f07eda Added React Native Windows dotNet46 support (#684)
Added support react-native-windows dotNet
Added example for react-native-windows UWP based
Added example for react-native-windows dotNet based

Project structure:

CodePush.Shared - shared code between UWP and dotNet
CodePush - UWP specific code
CodePush.Net46 - dotNet specific code

For UWP solution it needs to be added the following projects:

CodePush.Shared
CodePush
For dotNet solution it needs to be added the following projects:

CodePush.Shared
CodePush.Net46
Examples:

Examples\CodePushDemoApp\windows\CodePushDemoApp.sln the solution contains both examples (UWP and dotNet).

Notes

Example for ARM configuration has not been tested. Since there is no changes in UWP part of implementation, there is low risk of failure.

In this implementation we tried to reuse UWP library as much as possible. The following issues are relevant for both platforms:

ZipFile.ExtractToDirectory is not reliable and throws exception if:
folder exists already
path is too long (> 250 chars)
Un-zipping is quite long operation. Does it make sense for async?
await UpdateUtils.UnzipBundleAsync(downloadFile.Path, unzippedFolder.Path);
2017-02-13 16:23:20 -08:00
Vladimir Kotikov
ec5dba7386 Upgrade example app to react-native 0.40.0 (#638)
* Update sample to react-native@0.40

* Update compatibility with latest react-native

* Fixed Merge Issues with CodePushDemoApp.xcscheme
2017-01-20 09:54:44 -08:00
Richard Hua
6da5918b98 Upgrade example app to React Native 0.39 (#630)
* Upgrade example app to react-native@0.39.0

* Fix formatting

* Update README.md to reflect new compatibility
2016-12-02 18:04:10 -08:00
BO KANG
76b4f4d558 Upgrade to rn 0.38 (#624)
* upgrade to RN 0.38
2016-11-28 13:58:13 -08:00
Richard Hua
d9a85c87f3 Support React Native 0.36.0 and 0.37.0 (#602)
* Upgrade example app to react-native@0.37.0
* Fix crash on restart caused by loadBundle() being called twice
2016-11-14 22:40:36 -08:00
Richard Hua
392189fad0 Support React Native 0.35.0 (#562)
* Upgrade example app to RN 0.35.0
* Update supported versions in README
* Support RN 35 - make a copy of objects queued over the bridge if they are mutable

This line was added in React Native 0.35.0: https://github.com/facebook/react-native/blob/v0.35.0/Libraries/Utilities/MessageQueue.js#L194 (facebook/react-native@145109f). It essentially deep freezes (or makes immutable) any object sent from JS to Native over the bridge. This object is already pass-by-value to begin with, so I assume the purpose of this is to avoid any ambiguity or confusion that might occur if the object is modified while it is sitting in the message queue.

We do send a localPackage object over the bridge, which we modify afterwards. Because we only care about the value of this object at the moment that it is queued, the fix is to make a copy of it before sending it over the bridge.

This is relevant to issue #536 (RN version support).
2016-10-11 17:13:46 -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
66ca898ca6 Upgrade example app to RN 0.33.0 2016-09-29 14:48:16 -07:00
Geoffrey Goh
2a78ed59d5 fix 0.32 compat 2016-08-26 14:25:28 -07:00
Geoffrey Goh
c11560f697 fix 0.32 compat 2016-08-26 14:23:21 -07:00
Geoffrey Goh
596bad01df update sample app 2016-08-03 17:43:02 -07:00
Geoffrey Goh
ef0c6978ff remove dependency on react-native-button from sample app 2016-07-01 15:25:07 -07:00
Geoffrey Goh
98d12f494a upgrade to RN 0.19 2016-02-01 17:29:17 -08:00
Geoffrey Goh
bc52e8f0c5 add tests 2015-12-18 00:08:11 -08:00
Geoffrey Goh
45681288fe asset-update 2015-12-02 16:39:46 -08:00
Geoffrey Goh
25e3eb67f3 android support 2015-11-23 12:02:01 -08:00
Geoffrey Goh
1edcb38d18 undo unnecessary changes 2015-10-07 02:43:23 -07:00
Geoffrey Goh
b530292baf fixed tests 2015-10-07 02:40:43 -07:00
Will Anderson
eac6361ff8 Update react-native to 0.10.0 2015-08-28 12:20:04 -07:00
kg422
0adb38e082 wrote QueryUpdate and ApplyUpdate tests 2015-08-21 17:09:29 -07:00