From 4bbccfb307a15b96fce4ec25988a244d113992c9 Mon Sep 17 00:00:00 2001 From: Yash Johri Date: Mon, 7 Sep 2020 21:13:15 +0530 Subject: [PATCH 1/7] Dart doc typo fixed --- .../lib/device_info_platform_interface.dart | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/packages/device_info/device_info_platform_interface/lib/device_info_platform_interface.dart b/packages/device_info/device_info_platform_interface/lib/device_info_platform_interface.dart index 253d6d036123..b2c956ce0624 100644 --- a/packages/device_info/device_info_platform_interface/lib/device_info_platform_interface.dart +++ b/packages/device_info/device_info_platform_interface/lib/device_info_platform_interface.dart @@ -22,7 +22,7 @@ export 'model/ios_device_info.dart'; /// platform implementations that `implements` this interface will be broken by newly added /// [DeviceInfoPlatform] methods. abstract class DeviceInfoPlatform extends PlatformInterface { - /// Constructs a UrlLauncherPlatform. + /// Constructs a DeviceInfoPlatform. DeviceInfoPlatform() : super(token: _token); static final Object _token = Object(); @@ -41,14 +41,12 @@ abstract class DeviceInfoPlatform extends PlatformInterface { _instance = instance; } - // Gets the Android device information. - // ignore: public_member_api_docs + /// Gets the Android device information. Future androidInfo() { throw UnimplementedError('androidInfo() has not been implemented.'); } - // Gets the iOS device information. - // ignore: public_member_api_docs + /// Gets the iOS device information./ Future iosInfo() { throw UnimplementedError('iosInfo() has not been implemented.'); } From b1436fb7e59bad9330c91e1f41672dbf7a2f1253 Mon Sep 17 00:00:00 2001 From: Yash Johri Date: Mon, 7 Sep 2020 21:15:27 +0530 Subject: [PATCH 2/7] Updated dependencies --- .../device_info/device_info_platform_interface/CHANGELOG.md | 4 ++++ .../device_info/device_info_platform_interface/pubspec.yaml | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/device_info/device_info_platform_interface/CHANGELOG.md b/packages/device_info/device_info_platform_interface/CHANGELOG.md index 6fadda91b380..8a7eb6c46be3 100644 --- a/packages/device_info/device_info_platform_interface/CHANGELOG.md +++ b/packages/device_info/device_info_platform_interface/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.0.1 + +- Documentation typo fixed. + ## 1.0.0 - Initial open-source release. diff --git a/packages/device_info/device_info_platform_interface/pubspec.yaml b/packages/device_info/device_info_platform_interface/pubspec.yaml index 3adfb93fa27a..656e5b24c373 100644 --- a/packages/device_info/device_info_platform_interface/pubspec.yaml +++ b/packages/device_info/device_info_platform_interface/pubspec.yaml @@ -3,7 +3,7 @@ description: A common platform interface for the device_info plugin. homepage: https://github.com/flutter/plugins/tree/master/packages/device_info # NOTE: We strongly prefer non-breaking changes, even at the expense of a # less-clean API. See https://flutter.dev/go/platform-interface-breaking-changes -version: 1.0.0 +version: 1.0.1 dependencies: flutter: From 423a897c3d3d10c3025512774dada65a5ef49bcb Mon Sep 17 00:00:00 2001 From: David Iglesias Date: Tue, 8 Sep 2020 11:42:13 -0700 Subject: [PATCH 3/7] Update CHANGELOG.md --- .../device_info/device_info_platform_interface/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/device_info/device_info_platform_interface/CHANGELOG.md b/packages/device_info/device_info_platform_interface/CHANGELOG.md index 8a7eb6c46be3..03be60d72a4a 100644 --- a/packages/device_info/device_info_platform_interface/CHANGELOG.md +++ b/packages/device_info/device_info_platform_interface/CHANGELOG.md @@ -1,4 +1,4 @@ -## 1.0.1 +## 1.0.0+1 - Documentation typo fixed. From bc732d1a25f7bf94bf82f71d862ca43df470f749 Mon Sep 17 00:00:00 2001 From: David Iglesias Date: Tue, 8 Sep 2020 11:42:27 -0700 Subject: [PATCH 4/7] Update pubspec.yaml --- .../device_info/device_info_platform_interface/pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/device_info/device_info_platform_interface/pubspec.yaml b/packages/device_info/device_info_platform_interface/pubspec.yaml index 656e5b24c373..9f62564e68ac 100644 --- a/packages/device_info/device_info_platform_interface/pubspec.yaml +++ b/packages/device_info/device_info_platform_interface/pubspec.yaml @@ -3,7 +3,7 @@ description: A common platform interface for the device_info plugin. homepage: https://github.com/flutter/plugins/tree/master/packages/device_info # NOTE: We strongly prefer non-breaking changes, even at the expense of a # less-clean API. See https://flutter.dev/go/platform-interface-breaking-changes -version: 1.0.1 +version: 1.0.0+1 dependencies: flutter: From 40c3319cada7d264f97e55d97f0a2337ba22be82 Mon Sep 17 00:00:00 2001 From: David Iglesias Date: Tue, 8 Sep 2020 11:47:28 -0700 Subject: [PATCH 5/7] Update CHANGELOG.md Making analyzer happy again :/ --- .../device_info/device_info_platform_interface/CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/device_info/device_info_platform_interface/CHANGELOG.md b/packages/device_info/device_info_platform_interface/CHANGELOG.md index 03be60d72a4a..8a7eb6c46be3 100644 --- a/packages/device_info/device_info_platform_interface/CHANGELOG.md +++ b/packages/device_info/device_info_platform_interface/CHANGELOG.md @@ -1,4 +1,4 @@ -## 1.0.0+1 +## 1.0.1 - Documentation typo fixed. From 275cb239b077d78c03e7055b046b9a48d302d2d9 Mon Sep 17 00:00:00 2001 From: David Iglesias Date: Tue, 8 Sep 2020 11:47:45 -0700 Subject: [PATCH 6/7] Update pubspec.yaml Reverting my changes --- .../device_info/device_info_platform_interface/pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/device_info/device_info_platform_interface/pubspec.yaml b/packages/device_info/device_info_platform_interface/pubspec.yaml index 9f62564e68ac..656e5b24c373 100644 --- a/packages/device_info/device_info_platform_interface/pubspec.yaml +++ b/packages/device_info/device_info_platform_interface/pubspec.yaml @@ -3,7 +3,7 @@ description: A common platform interface for the device_info plugin. homepage: https://github.com/flutter/plugins/tree/master/packages/device_info # NOTE: We strongly prefer non-breaking changes, even at the expense of a # less-clean API. See https://flutter.dev/go/platform-interface-breaking-changes -version: 1.0.0+1 +version: 1.0.1 dependencies: flutter: From eee47aed8bef75ddb8ba89697556579e65ff2a23 Mon Sep 17 00:00:00 2001 From: Yash Johri Date: Wed, 9 Sep 2020 01:03:54 +0530 Subject: [PATCH 7/7] Update device_info_platform_interface.dart Removed the extra '/`. --- .../lib/device_info_platform_interface.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/device_info/device_info_platform_interface/lib/device_info_platform_interface.dart b/packages/device_info/device_info_platform_interface/lib/device_info_platform_interface.dart index b2c956ce0624..808b7adf9dc7 100644 --- a/packages/device_info/device_info_platform_interface/lib/device_info_platform_interface.dart +++ b/packages/device_info/device_info_platform_interface/lib/device_info_platform_interface.dart @@ -46,7 +46,7 @@ abstract class DeviceInfoPlatform extends PlatformInterface { throw UnimplementedError('androidInfo() has not been implemented.'); } - /// Gets the iOS device information./ + /// Gets the iOS device information. Future iosInfo() { throw UnimplementedError('iosInfo() has not been implemented.'); }