{"id":13552555,"url":"https://github.com/fluttercommunity/flutter_sms","last_synced_at":"2025-04-12T22:19:52.778Z","repository":{"id":32878413,"uuid":"144884677","full_name":"fluttercommunity/flutter_sms","owner":"fluttercommunity","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. Maintainer: @rodydavis","archived":false,"fork":false,"pushed_at":"2024-02-08T09:28:20.000Z","size":42861,"stargazers_count":250,"open_issues_count":45,"forks_count":230,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-04-04T01:28:45.759Z","etag":null,"topics":["android","flutter","imessage","ios","mms","sms","sms-api"],"latest_commit_sha":null,"homepage":"https://fluttercommunity.github.io/flutter_sms/","language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fluttercommunity.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-08-15T17:44:48.000Z","updated_at":"2025-03-16T12:48:37.000Z","dependencies_parsed_at":"2024-01-19T07:04:50.869Z","dependency_job_id":"e898f52b-1989-48af-a308-56cc4fa631cc","html_url":"https://github.com/fluttercommunity/flutter_sms","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluttercommunity%2Fflutter_sms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluttercommunity%2Fflutter_sms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluttercommunity%2Fflutter_sms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluttercommunity%2Fflutter_sms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fluttercommunity","download_url":"https://codeload.github.com/fluttercommunity/flutter_sms/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248638273,"owners_count":21137645,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","flutter","imessage","ios","mms","sms","sms-api"],"created_at":"2024-08-01T12:02:06.024Z","updated_at":"2025-04-12T22:19:52.757Z","avatar_url":"https://github.com/fluttercommunity.png","language":"Dart","readme":"[![Flutter Community: flutter_sms](https://fluttercommunity.dev/_github/header/flutter_sms)](https://github.com/fluttercommunity/community)\n\n[![Buy Me A Coffee](https://img.shields.io/badge/Donate-Buy%20Me%20A%20Coffee-yellow.svg)](https://www.buymeacoffee.com/rodydavis)\n[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=WSH3GVC49GNNJ)\n![github pages](https://github.com/fluttercommunity/flutter_sms/workflows/github%20pages/badge.svg)\n[![GitHub stars](https://img.shields.io/github/stars/fluttercommunity/flutter_sms?color=blue)](https://github.com/fluttercommunity/flutter_sms)\n[![flutter_sms](https://img.shields.io/pub/v/flutter_sms.svg)](https://pub.dev/packages/flutter_sms)\n\n# flutter_sms\n\n![alt-text-1](https://github.com/fluttercommunity/flutter_sms/blob/master/screenshots/ios_blank.PNG)\n\nOnline Demo: https://fluttercommunity.github.io/flutter_sms/\n\n## Description\n\nFlutter 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.\n\n## How To Use\n\nYou can send multiple ways:\n\n1. Message and No People\n2. People and No Message\n3. Message and People\n\nThis will populate the correct fields.\n\n\n## Example\n\nMake sure to Install and Import the Package.\n\n``` dart\nimport 'package:flutter_sms/flutter_sms.dart';\n```\n\nCreate a function for sending messages.\n\n``` dart\nvoid _sendSMS(String message, List\u003cString\u003e recipents) async {\n String _result = await sendSMS(message: message, recipients: recipents)\n        .catchError((onError) {\n      print(onError);\n    });\nprint(_result);\n}\n```\n\nYou can quickly send the message with this function.\n\n``` dart\nString message = \"This is a test message!\";\nList\u003cString\u003e recipents = [\"1234567890\", \"5556787676\"];\n\n_sendSMS(message, recipents);\n```\n\n\n## Sending Direct\n\n**WARNING, there is a narrow category of apps that can get into the play store\nusing this feature. Using it is only advisable if you fit into this category or\nyou intent to distribute through a third party platform**\n\nOn Android, you can skip the additional dialog with the sendDirect parameter.\n\n``` dart\nString message = \"This is a test message!\";\nList\u003cString\u003e recipents = [\"1234567890\", \"5556787676\"];\n\n String _result = await sendSMS(message: message, recipients: recipents, sendDirect: true)\n        .catchError((onError) {\n      print(onError);\n    });\nprint(_result);\n```\n\nNOTE: This also requires the SEND_SMS permission to be added to the AndroidManifest.xml\n\n```\n    \u003cuses-permission android:name=\"android.permission.SEND_SMS\"/\u003e\n    \n    \u003capplication\n      ...\n```\n\n\n## Screenshots\n\niOS SMS             |  Android MMS\n:-------------------------:|:-------------------------:\n![alt-text-1](https://github.com/fluttercommunity/flutter_sms/blob/master/screenshots/ios_sms.PNG)  |  ![alt-text-2](https://github.com/fluttercommunity/flutter_sms/blob/master/screenshots/android_mms.png)\n\nYou can find other [screenshots here](https://github.com/fluttercommunity/flutter_sms/tree/master/screenshots).\n","funding_links":["https://www.buymeacoffee.com/rodydavis","https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=WSH3GVC49GNNJ"],"categories":["Dart"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffluttercommunity%2Fflutter_sms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffluttercommunity%2Fflutter_sms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffluttercommunity%2Fflutter_sms/lists"}