Skip to content

Conversation

@mravn-google
Copy link
Contributor

@mravn-google mravn-google commented Aug 12, 2018

Flutter modules with plugins were broken, code path tripping over unfinished iOS support.
This PR removes the breakage and adds test coverage. The underlying issue of missing iOS support will be addressed by another PR.

This PR also removes a Java compiler warning (newly deprecated engine API).

@mravn-google mravn-google requested a review from sigurdm August 13, 2018 07:22
Copy link
Contributor

@sigurdm sigurdm left a comment

Choose a reason for hiding this comment

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

LGTM

mockXcodeProjectInterpreter = new MockXcodeProjectInterpreter();
projectUnderTest = await FlutterProject.fromDirectory(fs.directory('project'));
projectUnderTest.ios.directory.createSync(recursive: true);
projectUnderTest.ios.directory..childDirectory('Runner.xcodeproj').createSync(recursive: true);
Copy link
Contributor

Choose a reason for hiding this comment

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

.., why does this work?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Because

a..b().c()

calls c on the return value of b, not on the value of a. However, the overall expression has the value of a. I'll remove one ..

@mravn-google mravn-google merged commit e69b434 into flutter:master Aug 13, 2018
@mravn-google mravn-google deleted the module_with_plugins branch August 13, 2018 08:36
zanderso pushed a commit that referenced this pull request Oct 13, 2020
* 85b0031 Migration to PlatformDispatcher and multi-window (flutter/engine#20496)

* 0d15181 Remove uses of Dart VM bytecode mode from Flutter engine (flutter/engine#21741)

* 8be6cc0 Roll Skia from 88cda17bbeb8 to 61003cde7688 (4 revisions) (flutter/engine#21744)

* a2046ae Revert "fix On iOS, dialog titles are announced twice (#19826)" (flutter/engine#21714)

* 3bd695b Roll Skia from 61003cde7688 to 13fc260c7080 (1 revision) (flutter/engine#21746)

* ca250c9 Roll Fuchsia Mac SDK from lqn8xmlDn... to gzhbqRUap... (flutter/engine#21749)

* 7f0e17b Roll Skia from 13fc260c7080 to aa64c352b349 (1 revision) (flutter/engine#21752)

* d97e74c Roll Fuchsia Linux SDK from EBX49sN_X... to YRTc9YoiB... (flutter/engine#21753)

* 7fc1a03 Roll Skia from aa64c352b349 to d71dc2d25b8b (1 revision) (flutter/engine#21758)

* a3f3f98 Roll Fuchsia Mac SDK from gzhbqRUap... to _0R2HD4c8... (flutter/engine#21759)

* d4b8d67 Roll Fuchsia Linux SDK from YRTc9YoiB... to Nw5-0_sVF... (flutter/engine#21760)

* 910ce92 Roll Fuchsia Mac SDK from _0R2HD4c8... to 82ankF-Ht... (flutter/engine#21762)

* bd03014 Roll Fuchsia Mac SDK from 82ankF-Ht... to FFpTJfmj1... (flutter/engine#21768)

* f230fde Use buildroot clang for scenario app (flutter/engine#21690)

* 766d682 Roll Fuchsia Linux SDK from Nw5-0_sVF... to h-DeV4tgE... (flutter/engine#21771)

* cff4ee7 Roll Skia from d71dc2d25b8b to ceb6214a556a (5 revisions) (flutter/engine#21772)

* fd1ba9c Ignore analysis warning for doc comment (flutter/engine#21773)

* 978cfd6 Roll Skia from ceb6214a556a to 9213e610ed92 (8 revisions) (flutter/engine#21774)

* 1068429 Roll Dart SDK from 06536d68ca0f to e256855d07ba (6 revisions) (flutter/engine#21775)

* 190fd8e Reland "Create root isolate asynchronously (#20142)" (flutter/engine#21747)

* 10ed563 Roll Skia from 9213e610ed92 to 840e8ea7403e (11 revisions) (flutter/engine#21779)

* e18cd96 Roll Skia from 840e8ea7403e to ab6e62c131e9 (7 revisions) (flutter/engine#21783)

* 931a046 Fix documentation build for window changes. (flutter/engine#21780)

* 38d8eba E2e screenshot tests2 (flutter/engine#21383)

* d912d50 [null-safety] fix build rule to produce sound dill (flutter/engine#21784)

* 05d9793 Extract a TextRange class for selection (flutter/engine#21722)

* c2938d0 Revert "Migration to PlatformDispatcher and multi-window #20496" (flutter/engine#21792)
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants