$flutter pub add url_launcher
Add the following code inside info.plist
<key>LSApplicationQueriesSchemes</key>
<array>
<string>sms</string>
<string>tel</string>
</array>
Add the following code inside AndroidManifest.xml
<uses-permission android:name="android.permission.INTERNET" />
<queries>
<!-- If your app checks for SMS support -->
<intent>
<action android:name="android.intent.action.VIEW" />
<data android:scheme="sms" />
</intent>
<!-- If your app checks for call support -->
<intent>
<action android:name="android.intent.action.VIEW" />
<data android:scheme="tel" />
</intent>
</queries>
$flutter run -d chrome
Pub.dev: url_launcher