From 193d21a3522671def8be5eee13456f7709cef39a Mon Sep 17 00:00:00 2001 From: Rody Davis <31253215+AppleEducate@users.noreply.github.com> Date: Tue, 19 Feb 2019 10:46:09 -0500 Subject: [PATCH] Update README.md --- README.md | 68 +------------------------------------------------------ 1 file changed, 1 insertion(+), 67 deletions(-) diff --git a/README.md b/README.md index 439f8a0..1b78a2d 100644 --- a/README.md +++ b/README.md @@ -1,69 +1,3 @@ # flutter_sms -![alt-text-1](https://github.com/AppleEducate/flutter_sms/blob/master/screenshots/ios_blank.PNG) - -## Description - -Flutter Plugin for sending SMS and MMS on Android and iOS. If you send to more than one person it will send as MMS. On the iOS if the number is an iPhone and iMessage is enabled it will send as an iMessage. - -## How To Use - -You can send multiple ways: - -1. Message and No People -2. People and No Message -3. Message and People - -This will prefil the correct fields. - -## Setup - -### Android - -Add this to your AndroidManifest.xml - -``` xml - -``` - -### iOS - -Good to go! - -## Example - -Make sure to Install and Import the Package. - -``` dart -import 'package:flutter_sms/flutter_sms.dart'; -``` - -Create a function for sending messages. - -``` dart -void _sendSMS(String message, List recipents) async { - String _result = await FlutterSms - .sendSMS(message: message, recipients: recipents) - .catchError((onError) { - print(onError); - }); -print(_result); -} -``` - -You can quickly send the message with this function. - -``` dart -String message = "This is a test message!"; -List recipents = ["1234567890", "5556787676"]; - -_sendSMS(message, recipents); -``` - -## Screenshots - -iOS SMS | Android MMS -:-------------------------:|:-------------------------: -![alt-text-1](https://github.com/AppleEducate/flutter_sms/blob/master/screenshots/ios_sms.PNG) | ![alt-text-2](https://github.com/AppleEducate/flutter_sms/blob/master/screenshots/android_mms.png) - -You can find other [screenshots here](https://github.com/AppleEducate/flutter_sms/tree/master/screenshots). +

The flutter_sms plugin was moved to plugins/packages/flutter_sms