Skip to content
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

load default splash screen when not init with engine #6925

Merged
merged 1 commit into from
Nov 21, 2018

Conversation

dnfield
Copy link
Contributor

@dnfield dnfield commented Nov 21, 2018

This fixes a regression for regular flutter apps caused by #6883.

Fixes flutter/flutter#24563

@xster
Copy link
Member

xster commented Nov 21, 2018

LGTM

@Hixie
Copy link
Contributor

Hixie commented Nov 21, 2018

test?

@dnfield
Copy link
Contributor Author

dnfield commented Nov 21, 2018

I'm not really sure how we could best test this. We don't have any facilities for running Objective C tests in the engine right now. I started some in https://github.com/flutter/ios_add2app - been talking with @cbracken about how we might be able to get those into the engine repo.

@dnfield
Copy link
Contributor Author

dnfield commented Nov 21, 2018

If we could run XCTests, for example, we could assert that a FlutterViewController has a non-nil splash screen for a flutter tool created project.

@jamesderlin
Copy link
Contributor

This change looks fine to me, but I thought that #6883 was intentionally a breaking change; you wanted people to opt-in to using the default splash screen.

@dnfield
Copy link
Contributor Author

dnfield commented Nov 21, 2018

@jamesderlin it was only intended to be breaking for add2app cases, not for "regular" flutter apps.

@dnfield dnfield merged commit df2e939 into flutter:master Nov 21, 2018
@dnfield dnfield deleted the fix_splash branch November 21, 2018 23:07
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Nov 25, 2018
engine-flutter-autoroll added a commit to flutter/flutter that referenced this pull request Nov 25, 2018
flutter/engine@1e37b99...99e73d8

git log 1e37b99..99e73d8 --no-merges --oneline
99e73d8 Roll buildroot to 29a5d76757ec12655c0562b317830f669bd44ea7. (flutter/engine#6929)
df2e939 load default splash screen when not init with engine (flutter/engine#6925)


The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

If the roll is causing failures, please contact the current sheriff, who should
be CC'd on the roll, and stop the roller if necessary.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

regression black screen before first screen only IOS
6 participants