Yuri Kulikov
82b3336adb
Deleted 'chmod' command as not necessary and caused 'Too many open files in system' ( #1388 )
2018-08-27 09:59:19 +03:00
Yuri Kulikov
da7b1faa21
Fixed create-app.js script ( #1386 )
2018-08-23 18:14:06 +03:00
Nickolay Toropov
9662c85ba6
Added mock for code-push plugin in test of demo app. ( #1298 )
2018-05-30 11:22:32 +03:00
Nickolay Toropov
4094c74a78
Fixed hoek vulnerable dependency: removed package-lock.json with old versions and added yarn.lock with updated dependencies. ( #1275 )
2018-05-08 15:48:36 +03:00
annakocheshkova
8064cc7dd6
Fix example project ( #1112 )
...
Automatic (on_app_resume, on_app_start) sync was not working in example project because App class was exported, not the wrapped App class.
2017-12-20 13:37:25 +03:00
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
Ruslan Bikkinin
4ab0e5e9fe
Implement code signing for client ios SDK ( #974 )
...
* Add JWT Library to ios project
* Add new option PublicKey to Info.plist
* Implement code signing mechanism
Update JWT library to 3.0.0-beta4
Implement signature verification mechanism
* Undo redundant changes
* Minor improvements
* Minor fixes
Add additional checking for specific update situations
Fix bugs
Refactor method names
* Add new dependencies to podspec
* Minor improvements
Fix log messages
2017-09-13 11:28:22 +03:00
max-mironov
d855c703bb
Merge branch 'master' of https://github.com/max-mironov/react-native-code-push
...
# Conflicts:
# Examples/CodePushDemoApp/package.json
2017-09-04 00:57:10 -07:00
Alexander Bodalevsky
b79257f419
Fix WPF. Application crashes on startup ( #973 )
...
* Align windows examples with the latest react native react native v: 0.47.1
* re-create corrupted json file
2017-08-24 12:51:44 +03:00
Sergey Akhalkov
6f6f145cbd
implement script to generate CodePushified React Native apps ( #958 )
...
* implement fully automatic script to generate CodePushified React Native apps
* fix compatibility issues, remove generate-app.sh
* update docs, improve react-native version detection
2017-08-09 14:07:15 +03:00
Max
aa6a7acc05
Updated Android/ios parts for DemoApp with RN0.47.1 ( #946 )
2017-08-03 01:54:00 -07:00
max-mironov
b70465f9b6
Updated Android/ios parts for DemoApp with RN0.47.1
2017-08-03 11:48:11 +03:00
Alexander Bodalevsky
fe9745237b
[WPF] Fix application crash when storage file was deleted while app is being active. ( #897 )
...
* Create file if non exist on each call
* Added asyn operation
2017-06-22 14:53:23 +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
9b366d56d9
Fixed jsCodeLocation init in demo app ( #801 )
2017-04-19 09:30:38 +03:00
max-mironov
7de4fa1233
Fixed CodePushDemoAppTest compile error for iOS extension
2017-04-11 10:24:41 +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
ea9496d3c0
Removed temporary certificate to follow recommendation not store secrets in code. ( #741 )
2017-03-06 14:19:11 -08:00
BO KANG
6d878bcde2
Automate test ( #704 )
...
* test automation
* accept PR comments and update the script.
* upgrade the auto script
* update the script comment.
* tackle all comments.
2017-02-21 14:57:22 -08:00
BO KANG
d2fa91eb61
Revert "Test automation" ( #700 )
2017-02-13 16:28:05 -08: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
BO KANG
fc7c109535
Test automation ( #687 )
...
* accept PR comments and update the script.
2017-02-13 15:09:41 -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
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
bb04535fbe
Fix bundle root location in demo app when loading from packager
2016-09-07 11:58:28 -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
Richard Hua
928a899b1b
Keep sync button visible in example app for prolonged testing
2016-08-22 18:21:31 -07:00
Geoffrey Goh
f477c196ed
remove console.log in demo
2016-08-18 12:06:59 -07:00
Geoffrey Goh
983f25883f
add api to specify custom NSBundle
2016-08-16 13:56:22 -07:00
Geoffrey Goh
2493a609f3
add explanation for jsCodeLocation
2016-08-05 12:25:42 -07:00
Geoffrey Goh
5441577f01
remove demo app tests
2016-08-05 12:10:05 -07:00
Geoffrey Goh
0fb34935c8
Update AndroidManifest.xml
2016-08-05 11:53:49 -07:00
Geoffrey Goh
ab59506340
Update Info.plist
2016-08-05 11:53:21 -07:00
Geoffrey Goh
0ed1b126a2
Update build.gradle
2016-08-05 11:52:09 -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
9cfbac6d6f
update installed message in demo app
2016-06-28 17:03:53 -07:00
Geoffrey Goh
38a52dc7a6
0.29 compat + refactoring android ( #398 )
...
0.29 compat
2016-06-27 09:27:31 -07:00
danielbasedow
1a49e760cb
work on issues from comments
...
-remove restartAllowed
-add logging to RestartManager
-keep track of pending restarts
2016-05-23 21:59:44 +02:00
danielbasedow
be3a74f3b0
remove constant ON_NEXT_RESTART_OPPORTUNITY
2016-05-22 19:26:20 +02:00