-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Split out lifecycle protocol #9922
Split out lifecycle protocol #9922
Conversation
FlutterPlugin and make the API slightly closer to Android.
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.
Neat. LGTM
@@ -18,107 +18,55 @@ NS_ASSUME_NONNULL_BEGIN | |||
@protocol FlutterPluginRegistrar; | |||
@protocol FlutterPluginRegistry; | |||
|
|||
/** |
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.
Man GitHub diffing is pretty crappy. But I'm assuming you're just copy pasting stuff around.
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.
Yep, just moved around.
* @param callback A callback for registering some set of plugins with a | ||
* `FlutterPluginRegistry`. | ||
#pragma mark - | ||
/*************************************************************************************************** |
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.
Do these long lines do anything special with doxygen or something?
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.
Nope, they are ignored by doxygen. It's for the benefit of someone scrolling through the file to see breaks between the top level objects.
Still LGTM |
flutter/engine@5467f6f...9cf1356 git log 5467f6f..9cf1356 --no-merges --oneline 9cf1356 Added hasRenderedFirstFrame() to old FlutterView for Espresso (#36211). (flutter/engine#9939) 8d28215 Fix caching of Locale.toString (flutter/engine#9920) b1276ef Roll fuchsia/sdk/core/linux-amd64 from kKw24ZxMzd4Hx6mCaVBSxBJxx7wIKmxP8txe9Cp0dxIC to yCNSGMzcBMQzda_aHXqXWoW1cLSen0AL64orTFH-qHcC (flutter/engine#9955) 649e025 Removed PlatformViewsController if-statements from TextInputPlugin (#34286). (flutter/engine#9938) ede88d7 Roll src/third_party/skia aa861a1907a1..4a13119a60e2 (9 commits) (flutter/engine#9950) 48b1340 Fix the geometry test to reflect that OffsetBase comparison operators are a partial ordering (flutter/engine#9925) 971c3f2 Roll fuchsia/sdk/core/linux-amd64 from XG_fYb35A8mJpnMG_I9iBm7yHJyNZYZRgG69a88us_sC to kKw24ZxMzd4Hx6mCaVBSxBJxx7wIKmxP8txe9Cp0dxIC (flutter/engine#9947) 3d7f93a Removed logic from FlutterAppDelegate into FlutterPluginAppLifeCycleDelegate (flutter/engine#9893) 273f4cf Split out lifecycle protocol (flutter/engine#9922) f41be3e Roll src/third_party/skia 58d1f76fc008..aa861a1907a1 (7 commits) (flutter/engine#9946) 53f620f [platform view] do not make clipping view and interceptor view clipToBounds (flutter/engine#9937) a1faebb Roll fuchsia/sdk/core/linux-amd64 from IPgI5Uh4rIZ4zNfAV1_ynC4dGmFLexAW1L9czHUyjowC to XG_fYb35A8mJpnMG_I9iBm7yHJyNZYZRgG69a88us_sC (flutter/engine#9945) 309ad63 Roll src/third_party/skia 95528752e2bd..58d1f76fc008 (1 commits) (flutter/engine#9944) d852e8a Roll src/third_party/skia 19547c91b983..95528752e2bd (1 commits) (flutter/engine#9943) 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 ([email protected]), and stop the roller if necessary.
flutter/engine@5467f6f...9cf1356 git log 5467f6f..9cf1356 --no-merges --oneline 9cf1356 Added hasRenderedFirstFrame() to old FlutterView for Espresso (flutter#36211). (flutter/engine#9939) 8d28215 Fix caching of Locale.toString (flutter/engine#9920) b1276ef Roll fuchsia/sdk/core/linux-amd64 from kKw24ZxMzd4Hx6mCaVBSxBJxx7wIKmxP8txe9Cp0dxIC to yCNSGMzcBMQzda_aHXqXWoW1cLSen0AL64orTFH-qHcC (flutter/engine#9955) 649e025 Removed PlatformViewsController if-statements from TextInputPlugin (flutter#34286). (flutter/engine#9938) ede88d7 Roll src/third_party/skia aa861a1907a1..4a13119a60e2 (9 commits) (flutter/engine#9950) 48b1340 Fix the geometry test to reflect that OffsetBase comparison operators are a partial ordering (flutter/engine#9925) 971c3f2 Roll fuchsia/sdk/core/linux-amd64 from XG_fYb35A8mJpnMG_I9iBm7yHJyNZYZRgG69a88us_sC to kKw24ZxMzd4Hx6mCaVBSxBJxx7wIKmxP8txe9Cp0dxIC (flutter/engine#9947) 3d7f93a Removed logic from FlutterAppDelegate into FlutterPluginAppLifeCycleDelegate (flutter/engine#9893) 273f4cf Split out lifecycle protocol (flutter/engine#9922) f41be3e Roll src/third_party/skia 58d1f76fc008..aa861a1907a1 (7 commits) (flutter/engine#9946) 53f620f [platform view] do not make clipping view and interceptor view clipToBounds (flutter/engine#9937) a1faebb Roll fuchsia/sdk/core/linux-amd64 from IPgI5Uh4rIZ4zNfAV1_ynC4dGmFLexAW1L9czHUyjowC to XG_fYb35A8mJpnMG_I9iBm7yHJyNZYZRgG69a88us_sC (flutter/engine#9945) 309ad63 Roll src/third_party/skia 95528752e2bd..58d1f76fc008 (1 commits) (flutter/engine#9944) d852e8a Roll src/third_party/skia 19547c91b983..95528752e2bd (1 commits) (flutter/engine#9943) 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 ([email protected]), and stop the roller if necessary.
This puts iOS slightly more inline with Android without breaking current functionality. It is more "clean" too since this new protocol is a nice logical grouping and it makes FlutterPlugin more grokable.
Related issue: flutter/flutter#33071