Tags: cribspot/react-native-code-push
Tags
Support React Native 0.35.0 (microsoft#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 microsoft#536 (RN version support).
Merge pull request microsoft#464 from Microsoft/fix-android-patch Fix android patch
Merge pull request microsoft#451 from Microsoft/allow-no-opts-decorator Allow passing no opts to decorator
PreviousNext