Граф коммитов

56 Коммитов

Автор SHA1 Сообщение Дата
Andrey Dubov 0d3d2d70e2
Move disallowRestart to native side (#1894)
Issue: Now disallowRestart feature works for InstallMode.IMMEDIATE only. #788

Solution: Move _allowed flag to the native side and use it for ON_NEXT_RESUME, ON_NEXT_SUSPEND, and IMMEDIATE installation mode.
2020-07-15 12:08:53 +03:00
Krunal Shah 3144c91601 remove unused import from package-mixins (#1325) 2018-06-26 12:47:28 +03:00
Artem Egorov 68ce5c2e96
Handle uncaught promise rejection (#1253) 2018-04-23 11:19:45 +03:00
Minh Tran 56a0f1f434 Remove attribute which is ‘function’ before convert to native type, fix EXC_BAD_ACCESS error iOS (#809) 2017-05-02 21:31:37 -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).
2016-10-11 17:13:46 -07:00
Richard Hua 6dc1fb8487 Fix usage of NativeEventEmitter 2016-09-23 17:13:51 -07:00
danielbasedow 4a0938f7a4 add clearPendingRestart and return bool from restartApp indicating if restart has been initiated 2016-05-23 22:18:19 +02:00
danielbasedow d8e6d302a1 move restartApp to RestartManager 2016-05-22 18:41:07 +02:00
danielbasedow 088daeaf7d add code to delay automatic restarts 2016-05-22 11:53:20 +02:00
Geoffrey Goh 4508f63048 improve download progress perf 2016-04-27 14:29:38 -07:00
Jonathan Carter af2a5c6970 iOS implementation of minimumBackgroundDuration 2016-03-10 12:06:44 -08:00
Jonathan Carter 4610e06258 Remove unneccessary comment 2016-02-03 11:59:28 -08:00
Jonathan Carter 5c3b9eef35 Add logging and lift dev restriction on telemtry 2016-02-03 11:32:35 -08:00
Geoffrey Goh b1babeb510 disable-metrics-in-debug 2016-02-02 15:15:17 -08:00
Geoffrey Goh a44c7923ca feedback 2016-01-18 16:56:37 -08:00
Jonathan Carter b31ea8b1ac Fixing immediate restart 2015-12-28 09:29:54 -08:00
Geoffrey Goh 03e91b3ff9 revert to module.exporst 2015-12-25 23:36:04 -08:00
Geoffrey Goh 89d5c14d14 feedback 2015-12-24 12:44:36 -08:00
Geoffrey Goh 222f1f6022 feedback 2015-12-24 00:05:04 -08:00
Geoffrey Goh 9b87d7e2a8 feedback 2015-12-23 22:53:58 -08:00
Geoffrey Goh ebd93b53eb es7 2015-12-23 21:24:29 -08:00
Jonathan Carter a16f0b1501 Changing function to arrow 2015-12-16 21:06:54 -08:00
Jonathan Carter 4694db558c Adding isPending 2015-12-16 20:49:27 -08:00
Geoffrey Goh 05697c40b7 remove rollback timeout 2015-12-09 18:49:45 -08:00
Geoffrey Goh f07fcfbb0b Merge pull request #73 from Microsoft/delete-old-packages
Delete old packages
2015-11-25 18:36:27 -08:00
Geoffrey Goh d2cf60598c var {Platform} 2015-11-25 18:34:42 -08:00
Geoffrey Goh ee3b9e6f3b delete-old-packages 2015-11-25 18:29:01 -08:00
Jonathan Carter 1b9e0b2315 Renaming restartPendingUpdate to restartApp 2015-11-25 17:49:47 -08:00
Geoffrey Goh c5ec81101a feedback 2015-11-24 17:28:30 -08:00
Geoffrey Goh a636482846 update to master again 2015-11-24 15:52:04 -08:00
Jonathan Carter 5a3ac5e829 Fixing method name typo 2015-11-24 13:38:10 -08:00
Geoffrey Goh 56fa04021a Merge branch 'master' of github.com:Microsoft/react-native-code-push into android-support 2015-11-24 13:08:12 -08:00
Jonathan Carter 292359a201 Renaming restartPendingUpdate 2015-11-23 21:32:36 -08:00
Jonathan Carter 7f21bae33a Fixing function name 2015-11-23 20:30:48 -08:00
Jonathan Carter 8495e7d0fd Moving restartApp to LocalPackage 2015-11-23 20:24:02 -08:00
Jonathan Carter 8e04d38eb0 Removing setDeploymentKey 2015-11-23 19:08:57 -08:00
Jonathan Carter e6abf60a3b Splitting restartApp into internal and public versions 2015-11-23 18:56:12 -08:00
Geoffrey Goh 25e3eb67f3 android support 2015-11-23 12:02:01 -08:00
Jonathan Carter 5898261c6d Removing second use of extend 2015-11-19 16:22:21 -08:00
Geoffrey Goh 9fdaf510fb change UPDATE_INSTALLED behaviour 2015-11-18 15:27:05 -08:00
Geoffrey Goh 3570f40ffb jonathan feedback 2015-11-17 22:09:13 -08:00
Geoffrey Goh a97407508b updated sync 2015-11-17 18:24:56 -08:00
Jonathan Carter 1a7fbf6bec Fixing enum name 2015-11-15 13:07:44 -08:00
Jonathan Carter c56a6f2935 Restart on resume 2015-11-15 12:46:47 -08:00
Geoffrey Goh 5566742182 fixed test and deduplicate 2015-11-13 14:15:52 -08:00
Geoffrey Goh e0dc4f51f8 formatting 2015-11-13 11:44:29 -08:00
Geoffrey Goh fcf4cb56bc revert 4 spaces change 2015-11-13 11:43:23 -08:00
Geoffrey Goh b9f3b25c48 feedback 2015-11-13 11:23:45 -08:00
Geoffrey Goh 78238071fe docs 2015-11-12 22:14:49 -08:00
Geoffrey Goh 7e0645a939 download-progress 2015-11-12 20:37:02 -08:00