-
Notifications
You must be signed in to change notification settings - Fork 6k
Reland "ios: remove shared_application and support app extension build #44732" #45351
Reland "ios: remove shared_application and support app extension build #44732" #45351
Conversation
…port app extension build" (flutter#45250)" This reverts commit 367c709. fix format tests format
d4ecab7
to
4a1709a
Compare
} | ||
// Fallback to slow implementation. | ||
return [NSBundle bundleWithIdentifier:bundleID]; | ||
return assets; |
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.
This is the fix, original PR had a url reachability test and returns nil here
return flutterFrameworkBundle; | ||
} | ||
|
||
NSString* FLTAssetPath(NSBundle* bundle) { |
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.
Compares to the original PR, also refactored this method in this PR
XCTAssertEqualObjects(bundle.bundleURL, [NSBundle mainBundle].bundleURL); | ||
} | ||
|
||
- (void)testFLTAssetsURLFromBundle { |
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.
This is the test for the fix
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.
LGTM
(For future reland-with-fix PRs, something that I highly recommend is to make the PR contain two commits, one that's a straight revert-of-revert, and then a second that's the changes, so that reviewers can easily review the diff from the previous version.)
…133879) flutter/engine@d00b69a...489c399 2023-09-01 matanlurey@users.noreply.github.com Update (flipping the default from false -> true) and deprecate Paint.enableDithering. (flutter/engine#44705) 2023-09-01 jonahwilliams@google.com [Impeller] EntityPass::Clone needs to clone harder (flutter/engine#45313) 2023-09-01 ychris@google.com Reland "ios: remove shared_application and support app extension build #44732" (flutter/engine#45351) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll Please CC aaclarke@google.com,rmistry@google.com,zra@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
…48271) Fix flutter/flutter#138604 and flutter/flutter#138671 Related PR #45351 [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
…lutter#48271) Fix flutter/flutter#138604 and flutter/flutter#138671 Related PR flutter#45351 [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style (cherry picked from commit bec0dac)
…lutter#48271) Fix flutter/flutter#138604 and flutter/flutter#138671 Related PR flutter#45351 [C++, Objective-C, Java style guides]: https://github.com/flutter/engine/blob/main/CONTRIBUTING.md#style
Relands #44732 with fix.
The original PR returns nil when the assets is not reachable, in some cases, the assets are not loaded yet but will be loaded later, so we should return the asset URL regardless.
Also added a fallback to main bundle to match the previous implementation.
The original PR was failed in internal tests in b/297654739
Now with the fix, all tests passed: cl/561449914
fixes flutter/flutter#124289
Pre-launch Checklist
///
).If you need help, consider asking for advice on the #hackers-new channel on Discord.