Merge branch 'charlesmchen/iOS10upgradeNag' into release/3.8.3
This commit is contained in:
commit
cb166b09b7
@ -3807,7 +3807,7 @@
|
||||
"UPGRADE_EXPERIENCE_INTRODUCING_PINS_SETUP_TITLE" = "Introducing PINs";
|
||||
|
||||
/* Message for the alert indicating that user should upgrade iOS. */
|
||||
"UPGRADE_IOS_ALERT_MESSAGE" = "Signal will soon require iOS 10 or later. Please upgrade in Settings app >> General >> Software Update.";
|
||||
"UPGRADE_IOS_ALERT_MESSAGE" = "Signal will soon require iOS 11 or later. Please upgrade in Settings app >> General >> Software Update.";
|
||||
|
||||
/* Title for the alert indicating that user should upgrade iOS. */
|
||||
"UPGRADE_IOS_ALERT_TITLE" = "Upgrade iOS";
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
//
|
||||
// Copyright (c) 2019 Open Whisper Systems. All rights reserved.
|
||||
// Copyright (c) 2020 Open Whisper Systems. All rights reserved.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
@ -119,10 +119,9 @@ import Foundation
|
||||
|
||||
@objc
|
||||
public class func showIOSUpgradeNagIfNecessary() {
|
||||
// Our min SDK is iOS9, so this will only show for iOS9 users
|
||||
// TODO: Start nagging iOS 10 users now that we're bumping up
|
||||
// our min SDK to iOS 10.
|
||||
if #available(iOS 10.0, *) { return }
|
||||
// We want to nag iOS 10 users now that we're bumping up
|
||||
// our min SDK to iOS 11.
|
||||
if #available(iOS 11.0, *) { return }
|
||||
|
||||
// Don't nag legacy users if this is an end of life build
|
||||
// (the last build their OS version supports)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user