diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..9f8693f --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,14 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "name": "Flutter", + "request": "launch", + "type": "dart", + "program": "example/lib/main.dart" + } + ] +} \ No newline at end of file diff --git a/example/lib/main.dart b/example/lib/main.dart index 4714cb8..46f69a9 100644 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -202,31 +202,31 @@ class _MyAppState extends State { ), ], ), - Divider(), - Padding( - padding: const EdgeInsets.all(8), - child: Text( - "Can send SMS", - style: Theme.of(context).textTheme.title, - ), - ), - Padding( + Divider(), + Padding( padding: const EdgeInsets.all(8), - child: Text(_canSendSMSMessage, - style: Theme.of(context).textTheme.body1)), - Padding( - padding: - const EdgeInsets.symmetric(vertical: 8.0, horizontal: 24), - child: RaisedButton( - color: Theme.of(context).accentColor, - padding: EdgeInsets.symmetric(vertical: 16), - child: Text("RUN CHECK", - style: Theme.of(context).accentTextTheme.button), - onPressed: () { - _canSendSMS(); - }, + child: Text( + "Can send SMS", + style: Theme.of(context).textTheme.title, + ), ), - ) + Padding( + padding: const EdgeInsets.all(8), + child: Text(_canSendSMSMessage, + style: Theme.of(context).textTheme.body1)), + Padding( + padding: + const EdgeInsets.symmetric(vertical: 8.0, horizontal: 24), + child: RaisedButton( + color: Theme.of(context).accentColor, + padding: EdgeInsets.symmetric(vertical: 16), + child: Text("RUN CHECK", + style: Theme.of(context).accentTextTheme.button), + onPressed: () { + _canSendSMS(); + }, + ), + ) ], ), ), diff --git a/ios/flutter_sms.podspec b/ios/flutter_sms.podspec index 9b772b7..46476f7 100644 --- a/ios/flutter_sms.podspec +++ b/ios/flutter_sms.podspec @@ -4,14 +4,14 @@ # Pod::Spec.new do |s| s.name = 'flutter_sms' - s.version = '0.0.1' - s.summary = 'A new flutter plugin project.' + s.version = '1.1.0' + s.summary = 'A Flutter plugin for Sending SMS on Android and iOS.' s.description = <<-DESC A new flutter plugin project. DESC - s.homepage = 'http://example.com' + s.homepage = 'https://github.com/fluttercommunity/flutter_sms' s.license = { :file => '../LICENSE' } - s.author = { 'Your Company' => 'email@example.com' } + s.author = { 'Rody Davis' => 'rody.davis.jr@gmail.com' } s.source = { :path => '.' } s.source_files = 'Classes/**/*' s.public_header_files = 'Classes/**/*.h' diff --git a/pubspec.yaml b/pubspec.yaml index d1b0df9..8592e61 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -2,7 +2,7 @@ name: flutter_sms description: A Flutter plugin to Send SMS and MMS on iOS and Android. If iMessage is enabled it will send as iMessage on iOS. This plugin must be tested on a real device on iOS. version: 1.1.0 author: Rody Davis -homepage: https://github.com/AppleEducate/plugins +homepage: https://github.com/fluttercommunity/flutter_sms maintainer: Rody Davis (@AppleEducate)