Commit Graph

1342 Commits

Author SHA1 Message Date
BO KANG
76b4f4d558 Upgrade to rn 0.38 (#624)
* upgrade to RN 0.38
2016-11-28 13:58:13 -08:00
Sota Yamashtia
2431cb8c19 Remove MoveIt! from example section (#622)
Remove Movelt! bacause it is 404 and not maintained anymore according to https://github.com/multunus/moveit-mobile.
2016-11-28 12:56:07 -08:00
Hafiz Ismail
4d6e120e58 Update README for iOS Manual plugin installation (#620)
* Update README for iOS Manual plugin installation

Wrong/incomplete path to Codepush iOS library set in the `Header Search Paths` causes Xcode to fail without specifying any errors.

The path to the library should be changed from 

```
$(SRCROOT)/../node_modules/react-native-code-push

to

$(SRCROOT)/../node_modules/react-native-code-push/ios
```

Small detail but might cause a developer significant amount of time trying to pin down the cause of the build failure, especially when Xcode does not return any useful error.

The Xcode log when the header search path is wrong:

```
# Exit Status 65
Verify final result code for completed build operation

Build operation failed without specifying any errors. Individual build tasks may have failed for unknown reasons.
One possible cause is if there are too many (possibly zombie) processes; in this case, rebooting may fix the problem.
Some individual build task failures (up to 12) may be listed below.

```

Cheers!

* Update related screenshot for `Header Search Path`

Update related screenshot for `Header Search Path` configuration for manual iOS plugin installation
2016-11-28 12:51:53 -08:00
Richard Hua
efd8d8e01e Update README.md 2016-11-22 17:48:52 -08:00
BO KANG
f40495bec7 Update README.md file (#615)
Ensure that users on React Native 0.29-0.32 don't run into a known linking bug
2016-11-21 13:28:35 -08:00
Tristan Tran
e079bb9ece Correct console message in status change example (#609) 2016-11-16 12:07:53 -08:00
Richard Hua
f805fea5ef Update README.md to reflect compatibility v1.16.0-beta 2016-11-15 17:52:36 -08:00
Richard Hua
086115c4f3 Set package.json for 1.16.0-beta 2016-11-15 17:49:01 -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
Luca Pau
3ccfa67528 Fix failure in react-native link on Windows (#603)
Fix issue #530.
Every so often you run the command react-native link an exception is thrown because the \n in regex does not lead to the line.
2016-11-14 12:07:55 -08:00
Martin Konicek
ae0d35244f [Android] Let npm take care of versioning (#589) 2016-11-11 17:52:10 -08:00
Dan Hassin
e21d31a456 Update broken 'install RN with cocoapods' link (#601) 2016-11-11 17:50:18 -08:00
Richard Hua
bf9ef9e57b Reset package.json for master 2016-11-04 14:23:43 -07:00
Richard Hua
fa716504fa Bump package.json for 1.15.1-beta v1.15.1-beta 2016-11-04 13:57:24 -07:00
Swordsman-Inaction
5bcea7be35 Fix comparison method in setJSBundle (#587) 2016-10-31 22:30:11 -07:00
Richard Hua
641caddd86 Update README.md 2016-10-19 14:09:26 -07:00
Richard Hua
27029c82f3 Remove the project name from settings.gradle (#567)
As mentioned in #558, this line may override the original app's own project name.
2016-10-17 16:46:04 -07:00
Hilke Heremans
888684e817 Fix linking errors with multiple AppDelegate.m (#564)
In issue #477 there was an issue when the project has, for some reason, multiple AppDelegate.m files (eg project sample files) within the ios subdir of an RN project.

This fix will give priority to the AppDelegate.m found inside any path that has the application name (as defined in package.json) in it. If it cannot find that, it will revert to previous behavior (the first element in the path array).
2016-10-13 09:41:44 -07:00
Richard Hua
c44a252f90 To avoid confusion, set dummy package.json version for next release 2016-10-11 17:19:54 -07: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).
v1.15.0-beta
2016-10-11 17:13:46 -07:00
Richard Hua
3dce59f36e Ignore OSX metadata when hashing updates (#561)
On Android, prevent hash mismatches by ensuring the hashing algorithm ignores OS X metadata (.DS_Store and __MACOSX). This addresses #472, and mirrors #471, which is the iOS side of the fix.
2016-10-11 10:49:40 -07:00
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