Commit Graph

15 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
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