-
Notifications
You must be signed in to change notification settings - Fork 563
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
Use flutter.js bootstrapping #2792
Conversation
This will depend on https://github.com/flutter/engine/pull/49782/files getting merged first, so leaving this as a draft for now. |
cc: @ditman |
This changes some dart_services code, so you need to test by running dart_services ( |
@devoncarew I've tested this on the latest |
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's a new, new flutter.js initialization coming, but that's not documented yet. This LGTM!
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.
rslgtm for my part, though I'd rely on @ditman for the bulk of the review
In general, looks great to me, but due to the dart-services changes is there a desync with clients that could cause them to not work temporarily if connecting to an older server? Same for my temporary use of the legacy frontend. |
Co-authored-by: David Iglesias <[email protected]>
@parlough you're right, let's hold off until we've full migrated the websites. |
@parlough have we migrated the websites? |
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.
The websites are both using SketchPad now so feel free to land this when you're ready. Thanks for working on this and I appreciate the patience :)
This is working for me after merging with |
var url = URL.createObjectURL(blob); | ||
_flutter.loader.loadEntrypoint({ | ||
entrypointUrl: url, | ||
onEntrypointLoaded: async function(engineInitializer) { |
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 you can even drop this bit. This is wiring up the default behavior I believe.
Right @ditman ?
This is causing a CORS error, so I'm going to roll this back. #2959 |
|
This changes sketch_pad's bootstrapping to use flutter.js.
Fixes #2261