A new Flutter application.
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.
- Add these lines to
AndroidManifest.xml
undermanifest
.
<queries>
<!-- If your app opens https URLs -->
<intent>
<action android:name="android.intent.action.VIEW" />
<data android:scheme="https" />
</intent>
<!-- If your app makes calls -->
<intent>
<action android:name="android.intent.action.DIAL" />
<data android:scheme="tel" />
</intent>
<!-- If your app emails -->
<intent>
<action android:name="android.intent.action.SEND" />
<data android:mimeType="*/*" />
</intent>
</queries>
- Add these lines to
Info.plist
underdict
.
<key>LSApplicationQueriesSchemes</key>
<array>
<string>tel</string>
</array>
-
Open URL in the Default Browser:
http:<URL>
,https:<URL>
, e.g.http://flutter.dev
-
Create Email To:
mailto:<email address>?subject=<subject>&body=<body>
, e.g.mailto:[email protected]?subject=News&body=New%20plugin
-
Make a Phone Call To:
tel:<phone number>
, e.g.tel:+1 555 010 999
-
Send an SMS Message To:
sms:<phone number>
, e.g.sms:5550101234