Commit Graph

1417 Commits

Author SHA1 Message Date
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
Richard Hua
e00f5da56b Update README.md compatibility table to reflect breaking change 2017-04-05 14:36:34 -07:00
Sergey Akhalkov
77a18fe13b update "Supported React Native platforms" table (#781) 2017-04-05 10:48:43 +03:00
max-mironov
38bb190cec Reset package.json for next release 2017-04-04 15:39:20 +03:00
max-mironov
570543ca56 Bump package.json to 2.0.1-beta v2.0.1-beta 2017-04-04 15:34:37 +03:00
Sergey Akhalkov
e558fb28c4 Check if currentPackage isn’t undefined before accessing to the isPending property (#779) 2017-04-04 15:32:36 +03:00
max-mironov
31fdd04ba9 Bump package.json for 2.0.0-beta 2017-04-04 12:27:36 +03:00
max-mironov
2b3e1a21c2 Merge branch 'master' of https://github.com/max-mironov/react-native-code-push 2017-04-04 11:35:25 +03:00
max-mironov
c3be13dee7 Merge branch 'master' of https://github.com/Microsoft/react-native-code-push 2017-04-04 11:34:41 +03:00
max-mironov
3d352879a3 Bump xcode dep (#776)
* Modified Issue_Template to be more descriptive

* Some minor changes to Description field

* Improved messages to make intention of creating different apps for different platforms more clear

Due to multiple requests in discord chanel, https://github.com/Microsoft/react-native-code-push/issues/723, https://github.com/Microsoft/react-native-code-push/issues/717

* Minor additional tweak for readme

* Bump xcode dependency

Should fix Warnings from yarn regarding node-uuid #419 (https://github.com/Microsoft/code-push/issues/419) issue
2017-04-04 08:05:56 +03:00
max-mironov
2a8cf742f8 Merge branch 'master' of https://github.com/Microsoft/react-native-code-push 2017-04-03 03:52:12 -07:00
Sergey Akhalkov
c84337501a CodePush.js: fix syncStatus value mismatch (#765)
After `SyncStatus` correctly goes to `UPDATE_INSTALLED`, on the next resume it transitions to `CHECKING_FOR_UPDATE` and then `UP_TO_DATE`, even though the update has not yet been installed. It should be equals to `UPDATE_INSTALLED` value again until next app restart.
2017-03-31 10:59:52 +03:00
Neo
300a8358e3 [android] RN0.43 capacity (#735)
Fixed android project build issues that have place due to the following breaking changes: 
facebook/react-native#12329
facebook/react-native#12396
2017-03-23 13:24:54 +03:00
Richard Hua
360033e415 Reset package.json for next release 2017-03-22 17:01:59 -07:00
Richard Hua
212f2225cb Bump package.json for 1.17.3-beta (#761) v1.17.3-beta 2017-03-22 14:42:06 -07:00
Sergey Akhalkov
2b02ce90ef Flow type checking fix: use "CodePushHash" file name instead of "CodePushHash.json" (#763)
`CodePushHash.json` file name breaks flow type checking.
To fix the issue we need to delete `CodePushHash.json` file and
use `CodePushHash` file name instead to store the hash value.
Relates to https://github.com/Microsoft/react-native-code-push/issues/577
2017-03-22 13:27:37 -07:00
Alexander Bodalevsky
80210059b0 Windows - Fix for #713 NullReferenceException due to missing ProcessorId key (#743) 2017-03-21 13:35:51 -07:00
max-mironov
494a98b1ca Merge branch 'master' of https://github.com/Microsoft/react-native-code-push 2017-03-15 01:50:52 -07:00
Ankur Dahiya
ff92f4a7da README.md: Fix broken links to api-js (#752) 2017-03-14 11:51:32 -07:00
Tim Scott
4aee947294 Update README.md (#751)
* Update README.md

When I fail to supply a CODEPUSH_KEY variable for debug, the build fails. This pull fixes the example code. I also added a comment letting developers know to expect errors from CodePush in debug mode. (This behavior is surprising, but I believe is by design.)

* Tweak comment
2017-03-10 18:32:09 -08:00
Sergey Akhalkov
124d05721a Verify code-push service with RN 0.42 #742
Code push service runs well with RN 0.42
2017-03-09 00:41:52 +03:00
Sergey Akhalkov
1c5f4a1a15 build.gradle: set Android SDK Build Tools version to 23.0.1 (#747)
`react-native-code-push@1.17.1-beta` release introduces Android SDK Build Tools inconsistency between React Native app and react-native-code-push Module.
It's convenient to have the same version of Android SDK Build Tools both for React Native app and react-native-code-push module, due to https://github.com/facebook/react-native/pull/11422#issuecomment-266814770
2017-03-08 00:53:11 +03:00
max-mironov
02948715d6 Merge branch 'master' of https://github.com/Microsoft/react-native-code-push 2017-03-07 04:38:14 -08:00
max-mironov
2bd2b93f81 Improved guide for creating different app keys more clear (#737)
* Modified Issue_Template to be more descriptive

* Some minor changes to Description field

* Improved messages to make intention of creating different apps for different platforms more clear

Due to multiple requests in discord chanel, https://github.com/Microsoft/react-native-code-push/issues/723, https://github.com/Microsoft/react-native-code-push/issues/717

* Minor additional tweak for readme
2017-03-07 10:18:07 +03:00
max-mironov
52f003675a Merge branch 'master' of https://github.com/Microsoft/react-native-code-push 2017-03-06 23:16:16 -08:00
max-mironov
9e24450175 Minor additional tweak for readme 2017-03-06 23:13:07 -08: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
cf4c72cc4e revert back the android API bundle support from 25 to 23 2017-03-03 12:22:33 -08:00
max-mironov
85d614e20f Merge branch 'master' of https://github.com/Microsoft/react-native-code-push 2017-03-03 04:21:32 -08:00
max-mironov
867d39892b Improved messages to make intention of creating different apps for different platforms more clear
Due to multiple requests in discord chanel, https://github.com/Microsoft/react-native-code-push/issues/723, https://github.com/Microsoft/react-native-code-push/issues/717
2017-03-03 04:08:28 -08:00
ymusiychuk-lohika
72cb03df39 Ensure that unzipped folder does not exist before unzip on Windows (#732)
* Ensure that Unzipped folder does not exists before unzip

* Updated comment

* Renamed InitUnzippedFolderAsync -> CreateUnzippedFolderAsync, getFolder -> existingFolder
2017-03-02 12:12:07 -08:00
BO KANG
4bba4ce88f remove leading 'v' letter from version string, bump the version v1.17.2-beta 2017-03-02 10:51:35 -08:00
BO KANG
d2c3ea6350 remove leading 'v' letter from version string 2017-03-02 10:45:30 -08:00
max-mironov
3609799850 Modified Issue_Template to be more descriptive (#729)
* Modified Issue_Template to be more descriptive

* Some minor changes to Description field
2017-03-02 11:53:52 +03:00
max-mironov
9309d13854 Some minor changes to Description field 2017-03-02 00:52:37 -08:00
Sergey Akhalkov
197d8e3490 podspec: remove leading 'v' letter from version string (#731)
[`v1.2.3` is not a semantic version](https://github.com/mojombo/semver/blob/master/semver.md#is-v123-a-semantic-version). However, prefixing a semantic version with a "v" is a common way (in English)
to indicate it is a version number. Abbreviating "version" as "v" is often seen with version control.

Relate https://github.com/Microsoft/react-native-code-push/issues/727
2017-03-02 10:51:26 +03:00
max-mironov
e9060acdcc Modified Issue_Template to be more descriptive 2017-03-01 00:08:56 -08:00
BO KANG
2dd0ca2f5f reset the package versioin 1000.0.0-beta 2017-02-27 18:14:18 -08:00
BO KANG
18e1c89ccf release version v1.17.1-beta v1.17.1-beta 2017-02-27 17:51:29 -08:00
Ray Vafa
4180f9cd6c Update Android SDK to 25.0.2 (#725) 2017-02-27 17:48:43 -08:00
Igor Borges
c794c36dfd Allow output directory of CodePushHash.json to be customized (#712)
Remove `assetsDir` variable, as `generateBundledResourcesHash.js` should output `CodePushHash.json` to `jsBundleDir${targetName}` folder, and not the hardcoded `$buildDir/intermediates/assets/${targetPath}` one.
2017-02-24 18:46:41 -08:00
Christian Meunier
73f0984689 Update Android SDK to 23.0.3 (#710)
Fixes #709
2017-02-21 18:06: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
max-mironov
0c2aa44f5f Improved logic for searching plist file path for iOS postlink.js (#666)
* Improved logic for searching plist file path for iOS postlink.js

Added Xcode package for parsing xcodeproj file and retrieving correct plist file related to the project. This should also fix issue described here: https://github.com/Microsoft/react-native-code-push/issues/661

* Improved logic for searching plist file path for iOS postlink.js

Added logic to narrow xcode 'getBuildProperty' function results to specified Product_Name property. This should help us to chsose correct project from pbxproj file when we have several projects defined.

* Added logic to try to get 'Release' build of ProductName matching the package name first and if it doesn't exist then try to get any other if existing
2017-02-21 23:38:19 +03:00
BO KANG
beb514d66c Update the readme
For the internal website layout PR, change some headers from ## to ###.
2017-02-21 10:36:11 -08:00
BO KANG
a391a192b9 format the document to fit for auto-syn purpose. 2017-02-17 15:04:01 -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