Thanks to visit codestin.com
Credit goes to github.com

Skip to content

add an app.started event #416

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 2 commits into from
Nov 3, 2016
Merged

add an app.started event #416

merged 2 commits into from
Nov 3, 2016

Conversation

devoncarew
Copy link
Member

  • add support for an app.started event (fix Update plugin to ignore new events #413)
  • rename classes that parse events to end in Event
  • when we get an event that we don't understand, don't log an error

@danrubel

Copy link

@danrubel danrubel left a comment

Choose a reason for hiding this comment

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

LGTM with suggested changes.
Don't know if we want Flutter IJ Plugin to support both old and new named events.

return new DeviceAdded();
return new DeviceAddedEvent();
case "device.removed":
return new DeviceRemovedEvent();
case "app.start":
Copy link

Choose a reason for hiding this comment

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

As part of flutter/flutter#6679, "app.start" --> "app.starting".

return new AppLog();
case "daemon.logMessage":
return new LogMessage();
return new AppLogEvent();
case "app.stop":
Copy link

Choose a reason for hiding this comment

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

As part of flutter/flutter#6679, "app.stop" --> "app.stopped"

@devoncarew
Copy link
Member Author

/cc @stevemessick, we're now parsing an app.started event (which will shortly be sent by flutter_tools).

@devoncarew devoncarew merged commit 748c75e into master Nov 3, 2016
@devoncarew devoncarew added this to the 0.1.5 milestone Nov 3, 2016
@pq pq deleted the add_event branch November 4, 2016 22:59
@pq pq restored the add_event branch November 4, 2016 22:59
@pq pq deleted the add_event branch November 4, 2016 22:59
devoncarew added a commit that referenced this pull request Nov 6, 2016
* add an app.started event

* add an app.started event
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.

Update plugin to ignore new events
2 participants