Refine observation of async registration completion.
// FREEBIE
This commit is contained in:
parent
f5387efba3
commit
5ae4b99f89
4
Podfile
4
Podfile
|
@ -5,8 +5,8 @@ target 'Signal' do
|
||||||
pod 'SocketRocket', :git => 'https://github.com/facebook/SocketRocket.git'
|
pod 'SocketRocket', :git => 'https://github.com/facebook/SocketRocket.git'
|
||||||
pod 'AxolotlKit', git: 'https://github.com/WhisperSystems/SignalProtocolKit.git'
|
pod 'AxolotlKit', git: 'https://github.com/WhisperSystems/SignalProtocolKit.git'
|
||||||
#pod 'AxolotlKit', path: '../SignalProtocolKit'
|
#pod 'AxolotlKit', path: '../SignalProtocolKit'
|
||||||
pod 'SignalServiceKit', git: 'https://github.com/WhisperSystems/SignalServiceKit.git'
|
#pod 'SignalServiceKit', git: 'https://github.com/WhisperSystems/SignalServiceKit.git'
|
||||||
#pod 'SignalServiceKit', path: '../SignalServiceKit'
|
pod 'SignalServiceKit', path: '../SignalServiceKit'
|
||||||
pod 'JSQMessagesViewController', git: 'https://github.com/WhisperSystems/JSQMessagesViewController.git', branch: 'mkirk/position-edit-menu'
|
pod 'JSQMessagesViewController', git: 'https://github.com/WhisperSystems/JSQMessagesViewController.git', branch: 'mkirk/position-edit-menu'
|
||||||
#pod 'JSQMessagesViewController' path: '../JSQMessagesViewController'
|
#pod 'JSQMessagesViewController' path: '../JSQMessagesViewController'
|
||||||
pod 'PureLayout'
|
pod 'PureLayout'
|
||||||
|
|
|
@ -112,7 +112,7 @@ DEPENDENCIES:
|
||||||
- JSQMessagesViewController (from `https://github.com/WhisperSystems/JSQMessagesViewController.git`, branch `mkirk/position-edit-menu`)
|
- JSQMessagesViewController (from `https://github.com/WhisperSystems/JSQMessagesViewController.git`, branch `mkirk/position-edit-menu`)
|
||||||
- PureLayout
|
- PureLayout
|
||||||
- Reachability
|
- Reachability
|
||||||
- SignalServiceKit (from `https://github.com/WhisperSystems/SignalServiceKit.git`)
|
- SignalServiceKit (from `../SignalServiceKit`)
|
||||||
- SocketRocket (from `https://github.com/facebook/SocketRocket.git`)
|
- SocketRocket (from `https://github.com/facebook/SocketRocket.git`)
|
||||||
|
|
||||||
EXTERNAL SOURCES:
|
EXTERNAL SOURCES:
|
||||||
|
@ -122,7 +122,7 @@ EXTERNAL SOURCES:
|
||||||
:branch: mkirk/position-edit-menu
|
:branch: mkirk/position-edit-menu
|
||||||
:git: https://github.com/WhisperSystems/JSQMessagesViewController.git
|
:git: https://github.com/WhisperSystems/JSQMessagesViewController.git
|
||||||
SignalServiceKit:
|
SignalServiceKit:
|
||||||
:git: https://github.com/WhisperSystems/SignalServiceKit.git
|
:path: ../SignalServiceKit
|
||||||
SocketRocket:
|
SocketRocket:
|
||||||
:git: https://github.com/facebook/SocketRocket.git
|
:git: https://github.com/facebook/SocketRocket.git
|
||||||
|
|
||||||
|
@ -133,9 +133,6 @@ CHECKOUT OPTIONS:
|
||||||
JSQMessagesViewController:
|
JSQMessagesViewController:
|
||||||
:commit: 7054e4b13ee5bcd6d524adb6dc9a726e8c466308
|
:commit: 7054e4b13ee5bcd6d524adb6dc9a726e8c466308
|
||||||
:git: https://github.com/WhisperSystems/JSQMessagesViewController.git
|
:git: https://github.com/WhisperSystems/JSQMessagesViewController.git
|
||||||
SignalServiceKit:
|
|
||||||
:commit: 7af758bc67e80f788d4efa72678ad113dc930802
|
|
||||||
:git: https://github.com/WhisperSystems/SignalServiceKit.git
|
|
||||||
SocketRocket:
|
SocketRocket:
|
||||||
:commit: 877ac7438be3ad0b45ef5ca3969574e4b97112bf
|
:commit: 877ac7438be3ad0b45ef5ca3969574e4b97112bf
|
||||||
:git: https://github.com/facebook/SocketRocket.git
|
:git: https://github.com/facebook/SocketRocket.git
|
||||||
|
@ -161,6 +158,6 @@ SPEC CHECKSUMS:
|
||||||
UnionFind: c33be5adb12983981d6e827ea94fc7f9e370f52d
|
UnionFind: c33be5adb12983981d6e827ea94fc7f9e370f52d
|
||||||
YapDatabase: cd911121580ff16675f65ad742a9eb0ab4d9e266
|
YapDatabase: cd911121580ff16675f65ad742a9eb0ab4d9e266
|
||||||
|
|
||||||
PODFILE CHECKSUM: 89fd7aee1e2b0ca592ecc9dba0389e57b70f959b
|
PODFILE CHECKSUM: 6e5d90a9603eb043b395213fd8a29037d2276a8f
|
||||||
|
|
||||||
COCOAPODS: 1.2.1
|
COCOAPODS: 1.2.1
|
||||||
|
|
|
@ -188,6 +188,8 @@ static NSString *const kURLHostVerifyPrefix = @"verify";
|
||||||
name:kNSNotificationName_DatabaseViewRegistrationComplete
|
name:kNSNotificationName_DatabaseViewRegistrationComplete
|
||||||
object:nil];
|
object:nil];
|
||||||
|
|
||||||
|
DDLogInfo(@"%@ application: didFinishLaunchingWithOptions completed.", self.tag);
|
||||||
|
|
||||||
return YES;
|
return YES;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -203,6 +205,7 @@ static NSString *const kURLHostVerifyPrefix = @"verify";
|
||||||
[VersionMigrations isVersion:previousVersion atLeast:@"2.0.0" andLessThan:@"2.13.0"]) {
|
[VersionMigrations isVersion:previousVersion atLeast:@"2.0.0" andLessThan:@"2.13.0"]) {
|
||||||
shouldShowUpgradeLabel = YES;
|
shouldShowUpgradeLabel = YES;
|
||||||
}
|
}
|
||||||
|
DDLogInfo(@"%@ shouldShowUpgradeLabel: %d", self.tag, shouldShowUpgradeLabel);
|
||||||
if (shouldShowUpgradeLabel) {
|
if (shouldShowUpgradeLabel) {
|
||||||
UIView *rootView = viewController.view;
|
UIView *rootView = viewController.view;
|
||||||
UIImageView *iconView = nil;
|
UIImageView *iconView = nil;
|
||||||
|
@ -491,6 +494,8 @@ static NSString *const kURLHostVerifyPrefix = @"verify";
|
||||||
|
|
||||||
// Always check prekeys after app launches, and sometimes check on app activation.
|
// Always check prekeys after app launches, and sometimes check on app activation.
|
||||||
[TSPreKeyManager checkPreKeysIfNecessary];
|
[TSPreKeyManager checkPreKeysIfNecessary];
|
||||||
|
|
||||||
|
DDLogInfo(@"%@ applicationDidBecomeActive completed.", self.tag);
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)applicationWillResignActive:(UIApplication *)application {
|
- (void)applicationWillResignActive:(UIApplication *)application {
|
||||||
|
|
Loading…
Reference in New Issue