-
Christopher Fujino authored
Part of https://github.com/flutter/flutter/issues/130277 Without this, if a user runs an app that has plugins that call method channels with the `preview` device, the app will build successfully, however, they will get a runtime error when their dart code tries to call the method channel that does not exist in the native build (which was pre-built and thus does not include the plugin code). This change adds a validation when injecting plugins that will tool exit if the device-id is `preview` and their project contains plugins with method channels.
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| bin | ||
| doc | ||
| gradle | ||
| ide_templates/intellij | ||
| lib | ||
| static | ||
| templates | ||
| test | ||
| tool | ||
| README.md | ||
| analysis_options.yaml | ||
| dart_test.yaml | ||
| pubspec.yaml |