mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
25 lines
729 B
Objective-C
Executable file
25 lines
729 B
Objective-C
Executable file
//
|
|
// Copyright (c) 2018 Open Whisper Systems. All rights reserved.
|
|
//
|
|
|
|
@interface AppVersion : NSObject
|
|
|
|
@property (nonatomic, readonly) NSString *firstAppVersion;
|
|
@property (nonatomic, readonly) NSString *lastAppVersion;
|
|
@property (nonatomic, readonly) NSString *currentAppVersion;
|
|
|
|
// Unlike lastAppVersion, this property isn't updated until
|
|
// appLaunchDidComplete is called.
|
|
@property (nonatomic, readonly) NSString *lastCompletedLaunchAppVersion;
|
|
@property (nonatomic, readonly) NSString *lastCompletedLaunchMainAppVersion;
|
|
@property (nonatomic, readonly) NSString *lastCompletedLaunchSAEAppVersion;
|
|
|
|
+ (instancetype)instance;
|
|
|
|
- (void)mainAppLaunchDidComplete;
|
|
- (void)saeLaunchDidComplete;
|
|
|
|
- (BOOL)isFirstLaunch;
|
|
|
|
@end
|