-
Notifications
You must be signed in to change notification settings - Fork 32
chore: upgrade min OS from 9 to 10 #284
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -216,7 +216,7 @@ open class DefaultEventDispatcher: BackgroundingCallbacks, OPTEventDispatcher { | |||
|
|||
func startTimer() { | |||
// timer is activated only for iOS10+ and non-zero interval value | |||
guard #available(iOS 10.0, tvOS 10.0, *), timerInterval > 0 else { | |||
guard timerInterval > 0 else { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please update header.
} else { | ||
let message = "[OPTIMIZELY][" + level.name + "] " + message | ||
NSLog(message) | ||
var osLogType: OSLogType |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
header.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm once headers are updated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. As Sohail mentioned. Update the header. :)
Since iOS13 introduced, it can be a good time to drop support for the old iOS version.
Also Travis stop supporting iOS9 for xcode10.3 and xcode11+, so no way for CI testing anyway.
[JIRA-5629]