Sergey Akhalkov
e558fb28c4
Check if currentPackage isn’t undefined before accessing to the isPending property ( #779 )
2017-04-04 15:32:36 +03:00
Sergey Akhalkov
c84337501a
CodePush.js: fix syncStatus value mismatch ( #765 )
...
After `SyncStatus` correctly goes to `UPDATE_INSTALLED`, on the next resume it transitions to `CHECKING_FOR_UPDATE` and then `UP_TO_DATE`, even though the update has not yet been installed. It should be equals to `UPDATE_INSTALLED` value again until next app restart.
2017-03-31 10:59:52 +03:00
Geoffrey Goh
df909cf4e6
oops
2016-08-18 12:05:36 -07:00
Geoffrey Goh
e1edb83ab4
don't bind lifecycle hooks if root component instance is not ES6
2016-08-18 12:01:51 -07:00
Mads Lee Jensen
153ba2621b
added syncStatusCallback variable declaration
2016-08-05 23:58:48 +02:00
Mads Lee Jensen
dd6ad915b5
guard against codePushDownloadDidProgress(...) or codePushStatusDidChange(...) not being defined
2016-08-05 16:15:00 +02:00
Mads Lee Jensen
81e0f13ff9
bind 'this' to the react component in the callbacks codePushStatusDidChange(...) and codePushDownloadDidProgress(...)
2016-08-05 15:20:50 +02:00
Geoffrey Goh
d8bdd63ce7
CR feedback
2016-08-02 17:44:02 -07:00
Geoffrey Goh
79381ebf0a
allow no opts to decorator
2016-08-02 17:34:02 -07:00
Geoffrey Goh
3f29e9d03b
Update CodePush.js
2016-08-02 16:30:27 -07:00
Geoffrey Goh
dfd6a4f8ce
remove codepushify property
2016-08-01 17:55:09 -07:00
Geoffrey Goh
f0379ffb3e
CR feedback
2016-08-01 16:25:03 -07:00
Geoffrey Goh
6fa99e1094
CR feedback
2016-08-01 16:24:43 -07:00
Geoffrey Goh
4326515f28
CR feedback
2016-08-01 16:17:46 -07:00
Geoffrey Goh
f92acc6f55
update error handling
2016-07-16 12:16:19 -07:00
Geoffrey Goh
902009f721
add codePushify decorator
2016-07-15 20:17:30 -07:00
Ian MacLeod
8c432e4595
Bug fix for #379 where status report can be undefined on notifyApplicationReady
...
I introduced a crash on subsequent launches after an update is applied, where `getNewStatusReport()` returns nothing. This fixes it!
2016-06-23 10:52:35 -07:00
Geoffrey Goh
848a9616a7
Merge pull request #379 from convoyinc/nevir/status-report
...
Expose status reports via notifyAppReady()
2016-06-17 11:17:17 -07:00
Ian MacLeod
04e84b5c6b
Bring back resumeListener
2016-06-15 15:55:03 -07:00
scottbommarito
ce6ac09d9b
Merge pull request #357 from Microsoft/automated-testing
...
ADD AUTOMATED TESTING
2016-06-15 11:04:12 -07:00
Ian MacLeod
bc7ee8b1f6
Typings for the status report
2016-06-15 10:18:52 -07:00
Ian MacLeod
26634c02a9
Expose the status report when calling notifyAppReady
2016-06-15 10:18:07 -07:00
Ian MacLeod
5bf85953ed
Include local package mixins when returning packages from getUpdateMetadata()
...
I.e. this exposes `install()` on packages returned by `getUpdateMetadata()`.
2016-06-14 18:52:25 -07:00
scottbommarito
fdb3bd9df1
Merge branch 'master' into automated-testing
2016-06-13 10:37:02 -07:00
Geoffrey Goh
44ba85dab8
Update CodePush.js
2016-06-08 10:50:56 -07:00
Geoffrey Goh
aa456010fb
Update CodePush.js
2016-06-07 18:37:03 -07:00
scottbommarito
e87f1977d0
tests work on android, mostly on iOS
2016-05-25 14:26:35 -07:00
Jonathan Carter
1306c4b635
Tweaking log messages
2016-05-23 17:30:52 -07:00
danielbasedow
1a49e760cb
work on issues from comments
...
-remove restartAllowed
-add logging to RestartManager
-keep track of pending restarts
2016-05-23 21:59:44 +02:00
danielbasedow
3ffa986670
remove comma
2016-05-23 21:10:29 +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
2043e296ac
Revert "update JS"
...
This reverts commit b038fb493f .
2016-05-10 15:26:36 -07:00
Geoffrey Goh
b038fb493f
update JS
2016-05-10 13:35:10 -07:00
Geoffrey Goh
0ee423c259
retry report status
2016-05-09 18:49:58 -07:00
Geoffrey Goh
40b8c8ef41
CR feedback
2016-05-05 14:02:54 -07:00
Geoffrey Goh
4508f63048
improve download progress perf
2016-04-27 14:29:38 -07:00
Jonathan Carter
4e631859cd
Alias notifyAppReady
2016-04-18 10:06:17 -07:00
Jonathan Carter
c7b6dd2891
Fixing typos
2016-04-18 09:45:14 -07:00
Jonathan Carter
3086aeae08
iOS implementation of getUpdateMetadata
2016-04-15 15:24:22 -07:00
Jonathan Carter
af2a5c6970
iOS implementation of minimumBackgroundDuration
2016-03-10 12:06:44 -08:00
Geoffrey Goh
0ec35800c1
Merge pull request #225 from Microsoft/remove-semver-use
...
Remove semver use
2016-03-07 18:51:04 -08:00
Geoffrey Goh
89d0ffaeb8
clear updates when app version changes
2016-03-07 18:34:45 -08:00
Jonathan Carter
8da977ea90
Removing .done call
2016-03-07 08:58:49 -08:00
Geoffrey Goh
d946f4280c
Update CodePush.js
2016-03-02 23:41:30 -08:00
Jonathan Carter
0824eb4328
mandatoryInstallMode
2016-03-01 17:59:39 -08:00
Geoffrey Goh
c0d99ab936
change var name
2016-02-29 15:08:19 -08:00
Geoffrey Goh
9c416cddbc
end of file newline
2016-02-29 14:45:58 -08:00
Geoffrey Goh
e1717dd539
revert
2016-02-29 14:45:17 -08:00
Geoffrey Goh
0225ca49a7
handle uncleared updates debug
2016-02-29 14:42:49 -08:00