Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Conversation

@ditman
Copy link
Member

@ditman ditman commented Oct 30, 2020

Description

Substitute undefined_prefixed_name: ignore analyzer setting by a dart:ui shim with conditional exports for the following plugins:

  • video_player_web
  • google_maps_flutter_web
  • url_launcher_web

Related Issues

video_player_web tests

Video player web tests are broken (with nnbd errors), but so are in master. I'll migrate them to run with flutter drive instead of flutter test --platform chrome, which is being deprecated.

Checklist

Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
  • All existing and new tests are passing.
  • I updated/added relevant documentation (doc comments with ///).
  • The analyzer (flutter analyze) does not report any problems on my PR.
  • I read and followed the Flutter Style Guide.
  • The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
  • I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy.
  • I updated CHANGELOG.md to add a description of the change.
  • I signed the CLA.
  • I am willing to follow-up on review comments in a timely manner.

Breaking Change

Does your PR require plugin users to manually update their apps to accommodate your change?

  • No, this is not a breaking change.

Copy link
Contributor

@amirh amirh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! LGTM

If we see this as a temporary workaround we should probably have TODOs to remove it on all files. If it's a permanent solution we should probably put the workaround in a common package.

@amirh
Copy link
Contributor

amirh commented Oct 31, 2020

Note that the broken analyzer is due to null safety being turned on by default, see discussion on: flutter/flutter#69440 (comment)

@ditman ditman force-pushed the remove-analysis-yaml branch from fcd8670 to f53fa5e Compare November 4, 2020 22:16
@ditman
Copy link
Member Author

ditman commented Nov 4, 2020

Rebased on top of the latest master.

@ditman ditman merged commit 27f5cba into flutter:master Nov 4, 2020
@ditman ditman deleted the remove-analysis-yaml branch November 4, 2020 23:12
fesp pushed a commit to fesp/plugins that referenced this pull request Nov 11, 2020
…tter#3238)

Substitute `undefined_prefixed_name: ignore` custom analyzer setting by a `dart:ui` shim with conditional exports for the following plugins:

* video_player_web
* google_maps_flutter_web
* url_launcher_web

Remove these plugins from the CUSTOM_ANALYSIS_PLUGINS list in `script/incremental_build.sh`
FlutterSu pushed a commit to FlutterSu/flutter-plugins that referenced this pull request Nov 20, 2020
…tter#3238)

Substitute `undefined_prefixed_name: ignore` custom analyzer setting by a `dart:ui` shim with conditional exports for the following plugins:

* video_player_web
* google_maps_flutter_web
* url_launcher_web

Remove these plugins from the CUSTOM_ANALYSIS_PLUGINS list in `script/incremental_build.sh`
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants