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

Commit afc0ad2

Browse files
Remove deprecated plugins (#4580)
This removes all of the deprecated plugins from the tree, as well as all references to them. They were being left in the tree only in case they needed critical fixes before the end of this year, when they will become completely unsupported and be officially discontinued on pub.dev. The end of the year is now close enough that such a release is extremely unlikely, and they are causing some maintenance burden (e.g., the tree is currently closed on an out-of-band failure in android_alarm_manager). In the event that we do have to push an emergency fix in the next several weeks, we can either temporarily restore the plugin from git history, or use a branch. Minor related cleanup: - Scanning the repository for remaining references turned up that `image_picker_for_web` and `video_player_for_web` had copypasta'd the package name of its example application from one of the deprecated plugins, so this fixes those names. - Fixes `federation-safety-check` handling of top-level files in unfederated plugins that accidentally tripped federated plugin heuristics. - Fixes `federation-safety-check` handling of deleted plugins, as it was crashing, and tests that. - Fixes `make-deps-path-based` handling of deleted plugins, as it was crashing, and tests that.
1 parent 40572a7 commit afc0ad2

File tree

765 files changed

+108
-29491
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

765 files changed

+108
-29491
lines changed

.cirrus.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ task:
297297
xcode_analyze_script:
298298
- ./script/tool_runner.sh xcode-analyze --ios
299299
native_test_script:
300-
- ./script/tool_runner.sh native-test --ios --ios-destination "platform=iOS Simulator,name=iPhone 11,OS=latest" --exclude=script/configs/exclude_native_ios.yaml
300+
- ./script/tool_runner.sh native-test --ios --ios-destination "platform=iOS Simulator,name=iPhone 11,OS=latest"
301301
drive_script:
302302
# `drive-examples` contains integration tests, which changes the UI of the application.
303303
# This UI change sometimes affects `xctest`.
@@ -325,6 +325,6 @@ task:
325325
xcode_analyze_script:
326326
- ./script/tool_runner.sh xcode-analyze --macos
327327
native_test_script:
328-
- ./script/tool_runner.sh native-test --macos --exclude=script/configs/exclude_native_macos.yaml
328+
- ./script/tool_runner.sh native-test --macos
329329
drive_script:
330330
- ./script/tool_runner.sh drive-examples --macos

.github/labeler.yml

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,6 @@
1-
'p: android_alarm_manager':
2-
- packages/android_alarm_manager/**/*
3-
4-
'p: android_intent':
5-
- packages/android_intent/**/*
6-
7-
'p: battery':
8-
- packages/battery/**/*
9-
101
'p: camera':
112
- packages/camera/**/*
123

13-
'p: connectivity':
14-
- packages/connectivity/**/*
15-
16-
'p: cross_file':
17-
- packages/cross_file/**/*
18-
19-
'p: device_info':
20-
- packages/device_info/**/*
21-
224
'p: espresso':
235
- packages/espresso/**/*
246

@@ -46,9 +28,6 @@
4628
'p: local_auth':
4729
- packages/local_auth/**/*
4830

49-
'p: package_info':
50-
- packages/package_info/**/*
51-
5231
'p: path_provider':
5332
- packages/path_provider/**/*
5433

@@ -58,12 +37,6 @@
5837
'p: quick_actions':
5938
- packages/quick_actions/**/*
6039

61-
'p: sensors':
62-
- packages/sensors/**/*
63-
64-
'p: share':
65-
- packages/share/**/*
66-
6740
'p: shared_preferences':
6841
- packages/shared_preferences/**/*
6942

@@ -76,9 +49,6 @@
7649
'p: webview_flutter':
7750
- packages/webview_flutter/**/*
7851

79-
'p: wifi_info_flutter':
80-
- packages/wifi_info_flutter/**/*
81-
8252
'platform-android':
8353
- packages/*/*_android/**/*
8454
- packages/**/android/**/*

CONTRIBUTING.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,6 @@ Additional resources specific to the plugins repository:
2424
for more information about how to make PRs for this repository, especially when
2525
changing federated plugins.
2626

27-
## Important note
28-
29-
As of January 2021, we are no longer accepting non-critical PRs for the
30-
[deprecated plugins](./README.md#deprecated), as all new development should
31-
happen in the Flutter Community Plus replacements. If you have a PR for
32-
something other than a critical issue (crashes, build failures, security issues)
33-
in one of those pluigns, please [submit it to the Flutter Community Plus
34-
replacement](https://github.com/fluttercommunity/plus_plugins/pulls) instead.
35-
3627
## Other notes
3728

3829
### Style

README.md

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -59,20 +59,3 @@ These are the available plugins in this repository.
5959
| [url_launcher](./packages/url_launcher/) | [![pub package](https://img.shields.io/pub/v/url_launcher.svg)](https://pub.dev/packages/url_launcher) | [![pub points](https://badges.bar/url_launcher/pub%20points)](https://pub.dev/packages/url_launcher/score) | [![popularity](https://badges.bar/url_launcher/popularity)](https://pub.dev/packages/url_launcher/score) | [![likes](https://badges.bar/url_launcher/likes)](https://pub.dev/packages/url_launcher/score) |
6060
| [video_player](./packages/video_player/) | [![pub package](https://img.shields.io/pub/v/video_player.svg)](https://pub.dev/packages/video_player) | [![pub points](https://badges.bar/video_player/pub%20points)](https://pub.dev/packages/video_player/score) | [![popularity](https://badges.bar/video_player/popularity)](https://pub.dev/packages/video_player/score) | [![likes](https://badges.bar/video_player/likes)](https://pub.dev/packages/video_player/score) |
6161
| [webview_flutter](./packages/webview_flutter/) | [![pub package](https://img.shields.io/pub/v/webview_flutter.svg)](https://pub.dev/packages/webview_flutter) | [![pub points](https://badges.bar/webview_flutter/pub%20points)](https://pub.dev/packages/webview_flutter/score) | [![popularity](https://badges.bar/webview_flutter/popularity)](https://pub.dev/packages/webview_flutter/score) | [![likes](https://badges.bar/webview_flutter/likes)](https://pub.dev/packages/webview_flutter/score) |
62-
63-
### Deprecated
64-
65-
The following plugins are also part of this repository, but are deprecated in
66-
favor of the [Flutter Community Plus](https://plus.fluttercommunity.dev/) versions.
67-
68-
| Plugin | Pub | | Replacement | Pub |
69-
|--------|-----|--|-------------|-----|
70-
| [android_alarm_manager](./packages/android_alarm_manager/) | [![pub package](https://img.shields.io/pub/v/android_alarm_manager.svg)](https://pub.dev/packages/android_alarm_manager) | | android_alarm_manager_plus | [![pub package](https://img.shields.io/pub/v/android_alarm_manager_plus.svg)](https://pub.dev/packages/android_alarm_manager_plus) |
71-
| [android_intent](./packages/android_intent/) | [![pub package](https://img.shields.io/pub/v/android_intent.svg)](https://pub.dev/packages/android_intent) | | android_intent_plus | [![pub package](https://img.shields.io/pub/v/android_intent_plus.svg)](https://pub.dev/packages/android_intent_plus) |
72-
| [battery](./packages/battery/) | [![pub package](https://img.shields.io/pub/v/battery.svg)](https://pub.dev/packages/battery) | | battery_plus | [![pub package](https://img.shields.io/pub/v/battery_plus.svg)](https://pub.dev/packages/battery_plus) |
73-
| [connectivity](./packages/connectivity/) | [![pub package](https://img.shields.io/pub/v/connectivity.svg)](https://pub.dev/packages/connectivity) | | connectivity_plus | [![pub package](https://img.shields.io/pub/v/connectivity_plus.svg)](https://pub.dev/packages/connectivity_plus) |
74-
| [device_info](./packages/device_info/) | [![pub package](https://img.shields.io/pub/v/device_info.svg)](https://pub.dev/packages/device_info) | | device_info_plus | [![pub package](https://img.shields.io/pub/v/device_info_plus.svg)](https://pub.dev/packages/device_info_plus) |
75-
| [package_info](./packages/package_info/) | [![pub package](https://img.shields.io/pub/v/package_info.svg)](https://pub.dev/packages/package_info) | | package_info_plus | [![pub package](https://img.shields.io/pub/v/package_info_plus.svg)](https://pub.dev/packages/package_info_plus) |
76-
| [sensors](./packages/sensors/) | [![pub package](https://img.shields.io/pub/v/sensors.svg)](https://pub.dev/packages/sensors) | | sensors_plus | [![pub package](https://img.shields.io/pub/v/sensors_plus.svg)](https://pub.dev/packages/sensors_plus) |
77-
| [share](./packages/share/) | [![pub package](https://img.shields.io/pub/v/share.svg)](https://pub.dev/packages/share) | | share_plus | [![pub package](https://img.shields.io/pub/v/share_plus.svg)](https://pub.dev/packages/share_plus) |
78-
| [wifi_info_flutter](./packages/wifi_info_flutter/) | [![pub package](https://img.shields.io/pub/v/wifi_info_flutter.svg)](https://pub.dev/packages/wifi_info_flutter) | | network_info_plus | [![pub package](https://img.shields.io/pub/v/network_info_plus.svg)](https://pub.dev/packages/network_info_plus) |

packages/android_alarm_manager/.gitkeep

Whitespace-only changes.

packages/android_alarm_manager/AUTHORS

Lines changed: 0 additions & 66 deletions
This file was deleted.

0 commit comments

Comments
 (0)