Update build number

This commit is contained in:
Niels Andriesse 2019-08-02 10:04:37 +10:00
parent f32b141e9f
commit 875ecf2e80
3 changed files with 3 additions and 3 deletions

View file

@ -51,7 +51,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>9</string>
<string>10</string>
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
<key>LOGS_EMAIL</key>

View file

@ -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];

View file

@ -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>