Skip to content

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

Merged
merged 11 commits into from
Jun 17, 2021
Merged

Conversation

bsneed
Copy link
Contributor

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

Copy link
Contributor

@migs647 migs647 left a 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 {
Copy link
Contributor

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 😂

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤦‍♀️

Copy link
Contributor

@migs647 migs647 left a 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()
Copy link
Contributor

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.

@bsneed bsneed merged commit fafdff1 into main Jun 17, 2021
@bsneed bsneed deleted the bsneed/startup_fixes branch June 17, 2021 22:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants