mirror of
https://github.com/flutter/packages.git
synced 2025-08-24 11:39:26 +08:00
Remove iOS stubs (#3490)
Plugins that don't actually support iOS are no longer required to have an iOS stub to prevent build failures. This removes all iOS stubs from plugins that don't support iOS.
This commit is contained in:
@ -200,11 +200,10 @@ Tried searching for the following:
|
||||
if (isAndroid) {
|
||||
return (isAndroidPlugin(plugin, fileSystem));
|
||||
}
|
||||
// When we are here, no flags are specified. Only return true if the plugin supports mobile for legacy command support.
|
||||
// TODO(cyanglaz): Make mobile platforms flags also required like other platforms (breaking change).
|
||||
// When we are here, no flags are specified. Only return true if the plugin
|
||||
// supports Android for legacy command support. TODO(cyanglaz): Make Android
|
||||
// flag also required like other platforms (breaking change).
|
||||
// https://github.com/flutter/flutter/issues/58285
|
||||
final bool isMobilePlugin =
|
||||
isIosPlugin(plugin, fileSystem) || isAndroidPlugin(plugin, fileSystem);
|
||||
return isMobilePlugin;
|
||||
return isAndroidPlugin(plugin, fileSystem);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user