If a plugin uses application lifecycle events and has not migrated to scenes yet, Flutter should print an actionable warning to inform developers.
|
if (![delegate conformsToProtocol:@protocol(FlutterSceneLifeCycleDelegate)]) { |
|
// TODO(vashworth): If the plugin doesn't conform to the FlutterSceneLifeCycleDelegate, |
|
// print a warning pointing to documentation: https://github.com/flutter/flutter/issues/175956 |
|
// [FlutterLogger logWarning:[NSString stringWithFormat:@"Plugin %@ has not migrated to |
|
// scenes.", self.key]]; |
|
} |
This first requires the documentation to be written and published.
If a plugin uses application lifecycle events and has not migrated to scenes yet, Flutter should print an actionable warning to inform developers.
flutter/engine/src/flutter/shell/platform/darwin/ios/framework/Source/FlutterEngine.mm
Lines 1679 to 1684 in d47b499
This first requires the documentation to be written and published.