Commit Graph

337 Commits

Author SHA1 Message Date
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
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
Richard Hua
ee3519faee Update README.md to reflect RN 0.33 support 2016-09-29 14:37:30 -07:00
Richard Hua
abc1c777db Merge pull request #532 from mobileDevNativeCross/patch-1
Update README.md
2016-09-26 12:39:23 -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
Levy Klots
19ea89192e [doc] advice when targeting both android/ios 2016-09-22 16:49:31 -07:00
Geoffrey Goh
0deba45bd1 update compat table for readme 2016-08-31 17:35:33 -07:00
Geoffrey Goh
cf3551fe88 update docs 2016-08-31 15:19:29 -07:00
Geoffrey Goh
120d60969c update docs 2016-08-31 15:18:47 -07:00
Geoffrey Goh
c376c301d5 Merge pull request #491 from igrayson/patch-1
[Android] Support React instances with no Activity
2016-08-30 13:05:54 -07:00
Richard Hua
c2d2e35622 Clarify description of the label field in the README.md 2016-08-30 10:55:42 -07:00
Ian Grayson
f6ea4ec00d [Android] Support React instances with no Activity
This change aims to support applications which run React Native's catalyst instance in the background, sometimes without an activity.

We're using this change today in an RN 0.27 application, which overrides `ReactActivity#createReactInstanceManager` to afford us control of the instance's lifecycle, so that we may run and launch without an `Activity` (i.e., in response to push notifications and other triggers).

If we agree with this approach, I'll update this PR with documentation/etc.
2016-08-29 13:52:28 -07:00
Geoffrey Goh
4353657864 Update README.md 2016-08-12 13:48:31 -07:00
Geoffrey Goh
5ab949ab92 Merge pull request #450 from Microsoft/add-postlink-hooks
Add postlink scripts
2016-08-11 14:09:31 -07:00
Aleck Greenham
b354a0ec11 Update instructions to refer to correct files in Readme 2016-08-09 12:22:45 +01:00
Aleck Greenham
4e2d78c7eb Remove accidental placement of note in code block in Readme 2016-08-09 11:54:51 +01:00
Aleck Greenham
fda5175214 Fix formatting of previous amendment to Readme 2016-08-09 11:51:33 +01:00
Aleck Greenham
c232b00e10 Add separate Android installation step for >= 0.29 2016-08-09 11:50:17 +01:00
Geoffrey Goh
e40d6e46f0 Update README.md 2016-08-05 12:12:43 -07:00
Geoffrey Goh
759352d7f0 Update README.md 2016-08-04 12:58:15 -07:00
Jérémy M
6839d51b20 Mistake in README
Little mistake in README
2016-08-04 15:06:22 +02:00
Geoffrey Goh
370e639fdd update docs 2016-08-02 18:36:35 -07:00
Geoffrey Goh
f0c93e5864 update docs 2016-08-02 18:29:21 -07:00
Richard Hua
cdbf957f7d Update README.md 2016-08-02 18:00:40 -07:00
Geoffrey Goh
d8bdd63ce7 CR feedback 2016-08-02 17:44:02 -07:00
Geoffrey Goh
4fe0f87e98 update docs 2016-08-02 17:36:19 -07:00
Geoffrey Goh
79381ebf0a allow no opts to decorator 2016-08-02 17:34:02 -07:00
Richard Hua
88d325d2a5 Update README.md 2016-08-02 17:30:18 -07:00
Richard Hua
cfa437b636 Use the function wrapper format instead of the decorator format for API examples 2016-08-02 17:17:55 -07:00
Richard Hua
82f0f41b71 Fix up codepushify documentation to refer to the root-level decorator 2016-08-02 17:10:23 -07:00
Geoffrey Goh
9f154759b2 Merge pull request #431 from Microsoft/codepushify
Add @codePush decorator
2016-08-02 16:07:37 -07:00
Richard Hua
907354b655 Update README.md 2016-08-02 15:50:49 -07:00
Richard Hua
ae8ac7aef1 Update README.md 2016-08-02 15:40:06 -07:00
Richard Hua
f7a1dd36b9 Update README.md 2016-08-02 15:35:43 -07:00
Richard Hua
cad23676cd Update README.md 2016-08-02 15:27:15 -07:00
Richard Hua
7ae8ddf53e Update README.md 2016-08-02 15:22:13 -07:00
Richard Hua
aabf7f453d Update README.md 2016-08-02 15:08:29 -07:00
Richard Hua
982d484d98 Update README.md 2016-08-02 14:59:02 -07:00
Richard Hua
4c560b9643 Bullet point and indent decorator options for clearer separation 2016-08-02 14:56:37 -07:00
Geoffrey Goh
deff862d9b Update README.md 2016-08-01 20:02:40 -07:00
Geoffrey Goh
6d89872336 Update README.md 2016-08-01 19:57:17 -07:00
Geoffrey Goh
a17d4c5b43 Update RNPM instructions 2016-08-01 19:55:29 -07:00
Geoffrey Goh
9c97704349 link to babel-preset-react-native-stage-0 2016-08-01 18:11:19 -07:00
Geoffrey Goh
bad61c8e31 three -> two 2016-08-01 18:00:50 -07:00
Geoffrey Goh
8c9c44d823 CR feedback 2016-08-01 17:52:42 -07:00