mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Update build number
This commit is contained in:
parent
f32b141e9f
commit
875ecf2e80
3 changed files with 3 additions and 3 deletions
|
@ -51,7 +51,7 @@
|
|||
</dict>
|
||||
</array>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>9</string>
|
||||
<string>10</string>
|
||||
<key>ITSAppUsesNonExemptEncryption</key>
|
||||
<false/>
|
||||
<key>LOGS_EMAIL</key>
|
||||
|
|
|
@ -672,7 +672,7 @@ typedef NS_ENUM(NSInteger, HomeViewControllerSection) {
|
|||
NSString *buildNumberAsString = [NSBundle.mainBundle objectForInfoDictionaryKey:@"CFBundleVersion"];
|
||||
NSInteger buildNumber = buildNumberAsString.integerValue;
|
||||
BOOL didUpdateForMainnet = [NSUserDefaults.standardUserDefaults boolForKey:@"didUpdateForMainnet"];
|
||||
if ((buildNumber == 8 || buildNumber == 9) && !didUpdateForMainnet) {
|
||||
if ((buildNumber == 8 || buildNumber == 9 || buildNumber == 10) && !didUpdateForMainnet) {
|
||||
NSString *title = NSLocalizedString(@"Update Required", @"");
|
||||
NSString *message = NSLocalizedString(@"This version of Loki Messenger is no longer supported. Please press OK to reset your account and migrate to the latest version.", @"");
|
||||
UIAlertController *alert = [UIAlertController alertControllerWithTitle:title message:message preferredStyle:UIAlertControllerStyleAlert];
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
<key>CFBundleShortVersionString</key>
|
||||
<string>1.0.0</string>
|
||||
<key>CFBundleVersion</key>
|
||||
<string>9</string>
|
||||
<string>10</string>
|
||||
<key>ITSAppUsesNonExemptEncryption</key>
|
||||
<false/>
|
||||
<key>NSAppTransportSecurity</key>
|
||||
|
|
Loading…
Reference in a new issue