Skip to content

Commit 87adc2a

Browse files
Update all plugins that use verifyToken to use verify instead (flutter#4643)
1 parent dc9a20f commit 87adc2a

File tree

30 files changed

+64
-33
lines changed

30 files changed

+64
-33
lines changed

packages/camera/camera_platform_interface/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.1.3
2+
3+
* Update to use the `verify` method introduced in platform_plugin_interface 2.1.0.
4+
15
## 2.1.2
26

37
* Adopts new analysis options and fixes all violations.

packages/camera/camera_platform_interface/lib/src/platform_interface/camera_platform.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ abstract class CameraPlatform extends PlatformInterface {
3939
/// Platform-specific plugins should set this with their own platform-specific
4040
/// class that extends [CameraPlatform] when they register themselves.
4141
static set instance(CameraPlatform instance) {
42-
PlatformInterface.verifyToken(instance, _token);
42+
PlatformInterface.verify(instance, _token);
4343
_instance = instance;
4444
}
4545

packages/camera/camera_platform_interface/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ repository: https://github.com/flutter/plugins/tree/master/packages/camera/camer
44
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+camera%22
55
# NOTE: We strongly prefer non-breaking changes, even at the expense of a
66
# less-clean API. See https://flutter.dev/go/platform-interface-breaking-changes
7-
version: 2.1.2
7+
version: 2.1.3
88

99
environment:
1010
sdk: '>=2.12.0 <3.0.0'
@@ -15,7 +15,7 @@ dependencies:
1515
flutter:
1616
sdk: flutter
1717
meta: ^1.3.0
18-
plugin_platform_interface: ^2.0.0
18+
plugin_platform_interface: ^2.1.0
1919
stream_transform: ^2.0.0
2020

2121
dev_dependencies:

packages/file_selector/file_selector_platform_interface/CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
## NEXT
1+
## 2.0.3
22

33
* Minor code cleanup for new analysis rules.
4+
* Update to use the `verify` method introduced in plugin_platform_interface 2.1.0.
45

56
## 2.0.2
67

packages/file_selector/file_selector_platform_interface/lib/src/platform_interface/file_selector_interface.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ abstract class FileSelectorPlatform extends PlatformInterface {
3333
/// Platform-specific plugins should set this with their own platform-specific
3434
/// class that extends [FileSelectorPlatform] when they register themselves.
3535
static set instance(FileSelectorPlatform instance) {
36-
PlatformInterface.verifyToken(instance, _token);
36+
PlatformInterface.verify(instance, _token);
3737
_instance = instance;
3838
}
3939

packages/file_selector/file_selector_platform_interface/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ repository: https://github.com/flutter/plugins/tree/master/packages/file_selecto
44
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+file_selector%22
55
# NOTE: We strongly prefer non-breaking changes, even at the expense of a
66
# less-clean API. See https://flutter.dev/go/platform-interface-breaking-changes
7-
version: 2.0.2
7+
version: 2.0.3
88

99
environment:
1010
sdk: ">=2.12.0 <3.0.0"
@@ -16,7 +16,7 @@ dependencies:
1616
sdk: flutter
1717
http: ^0.13.0
1818
meta: ^1.3.0
19-
plugin_platform_interface: ^2.0.0
19+
plugin_platform_interface: ^2.1.0
2020

2121
dev_dependencies:
2222
flutter_test:

packages/google_maps_flutter/google_maps_flutter_platform_interface/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.1.4
2+
3+
* Update to use the `verify` method introduced in plugin_platform_interface 2.1.0.
4+
15
## 2.1.3
26

37
* `LatLng` constructor maintains longitude precision when given within

packages/google_maps_flutter/google_maps_flutter_platform_interface/lib/src/platform_interface/google_maps_flutter_platform.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ abstract class GoogleMapsFlutterPlatform extends PlatformInterface {
3939
/// Platform-specific plugins should set this with their own platform-specific
4040
/// class that extends [GoogleMapsFlutterPlatform] when they register themselves.
4141
static set instance(GoogleMapsFlutterPlatform instance) {
42-
PlatformInterface.verifyToken(instance, _token);
42+
PlatformInterface.verify(instance, _token);
4343
_instance = instance;
4444
}
4545

packages/google_maps_flutter/google_maps_flutter_platform_interface/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ repository: https://github.com/flutter/plugins/tree/master/packages/google_maps_
44
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+maps%22
55
# NOTE: We strongly prefer non-breaking changes, even at the expense of a
66
# less-clean API. See https://flutter.dev/go/platform-interface-breaking-changes
7-
version: 2.1.3
7+
version: 2.1.4
88

99
environment:
1010
sdk: '>=2.12.0 <3.0.0'
@@ -15,7 +15,7 @@ dependencies:
1515
flutter:
1616
sdk: flutter
1717
meta: ^1.3.0
18-
plugin_platform_interface: ^2.0.0
18+
plugin_platform_interface: ^2.1.0
1919
stream_transform: ^2.0.0
2020

2121
dev_dependencies:

packages/image_picker/image_picker_platform_interface/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.4.2
2+
3+
* Update to use the `verify` method introduced in plugin_platform_interface 2.1.0.
4+
15
## 2.4.1
26

37
* Reverts the changes from 2.4.0, which was a breaking change that

0 commit comments

Comments
 (0)