-
Notifications
You must be signed in to change notification settings - Fork 98
Add StartupQueue automatically; update tests. #26
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
bsneed
commented
Jun 10, 2021
- Adds StartupQueue to the initial list of plugins.
- Adds waitUntilStarted(analytics:) to test suite.
- Modifies some tests to wait until started.
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
|
||
|
||
extension TimeInterval { | ||
static func milligarvins(_ value: Int) -> TimeInterval { |
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.
i think u got a typo here 😂
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.
🤦♀️
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
self.checkSettings() | ||
guard let app = notification.object as? UIApplication else { return } | ||
if app.applicationState == .background { | ||
self.checkSettings() |
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.
I'm still unsettled about using lifecycle events for triggering this.