[connectivity] Fix pod lint warnings (#2675)
diff --git a/packages/connectivity/connectivity/CHANGELOG.md b/packages/connectivity/connectivity/CHANGELOG.md
index ec570b4..58f5d56 100644
--- a/packages/connectivity/connectivity/CHANGELOG.md
+++ b/packages/connectivity/connectivity/CHANGELOG.md
@@ -3,6 +3,7 @@
* Bump the minimum Flutter version to 1.12.13+hotfix.5.
* Clean up various Android workarounds no longer needed after framework v1.12.
* Complete v2 embedding support.
+* Fix CocoaPods podspec lint warnings.
## 0.4.8+3
diff --git a/packages/connectivity/connectivity/ios/connectivity.podspec b/packages/connectivity/connectivity/ios/connectivity.podspec
index b3d299c..096a76b 100644
--- a/packages/connectivity/connectivity/ios/connectivity.podspec
+++ b/packages/connectivity/connectivity/ios/connectivity.podspec
@@ -4,14 +4,16 @@
Pod::Spec.new do |s|
s.name = 'connectivity'
s.version = '0.0.1'
- s.summary = 'A new flutter plugin project.'
+ s.summary = 'Flutter Connectivity'
s.description = <<-DESC
-A new flutter plugin project.
+This plugin allows Flutter apps to discover network connectivity and configure themselves accordingly.
+Downloaded by pub (not CocoaPods).
DESC
- s.homepage = 'http://example.com'
- s.license = { :file => '../LICENSE' }
- s.author = { 'Your Company' => 'email@example.com' }
- s.source = { :path => '.' }
+ s.homepage = 'https://github.com/flutter/plugins'
+ s.license = { :type => 'BSD', :file => '../LICENSE' }
+ s.author = { 'Flutter Dev Team' => 'flutter-dev@googlegroups.com' }
+ s.source = { :http => 'https://github.com/flutter/plugins/tree/master/packages/connectivity/connectivity' }
+ s.documentation_url = 'https://pub.dev/packages/connectivity'
s.source_files = 'Classes/**/*'
s.public_header_files = 'Classes/**/*.h'
s.dependency 'Flutter'
diff --git a/packages/connectivity/connectivity_macos/CHANGELOG.md b/packages/connectivity/connectivity_macos/CHANGELOG.md
index c73779d..b95c3c4 100644
--- a/packages/connectivity/connectivity_macos/CHANGELOG.md
+++ b/packages/connectivity/connectivity_macos/CHANGELOG.md
@@ -3,6 +3,7 @@
* Bump the minimum Flutter version to 1.12.13+hotfix.5.
* Clean up various Android workarounds no longer needed after framework v1.12.
* Complete v2 embedding support.
+* Fix CocoaPods podspec lint warnings.
## 0.1.0+2
diff --git a/packages/connectivity/connectivity_macos/macos/connectivity_macos.podspec b/packages/connectivity/connectivity_macos/macos/connectivity_macos.podspec
index 67a76a1..57836f9 100644
--- a/packages/connectivity/connectivity_macos/macos/connectivity_macos.podspec
+++ b/packages/connectivity/connectivity_macos/macos/connectivity_macos.podspec
@@ -9,9 +9,9 @@
Desktop implementation of the connectivity plugin
DESC
s.homepage = 'https://github.com/flutter/plugins/tree/master/packages/connectivity/connectivity_macos'
- s.license = { :file => '../LICENSE' }
+ s.license = { :type => 'BSD', :file => '../LICENSE' }
s.author = { 'Flutter Team' => 'flutter-dev@googlegroups.com' }
- s.source = { :path => '.' }
+ s.source = { :http => 'https://github.com/flutter/plugins/tree/master/packages/connectivity/connectivity_macos' }
s.source_files = 'Classes/**/*'
s.dependency 'FlutterMacOS'
s.dependency 'Reachability'