Questions tagged [url-launcher]
122 questions
8
votes
1 answer
'canLaunch' is deprecated in Flutter
I'v used url_launcher package.
String query = Uri.encodeComponent(Utils.getSelectedStoreAddress());
var appleUrl = 'maps:q=$query';
var googleUrl =…

M Karimi
- 1,991
- 1
- 17
- 34
7
votes
1 answer
No Activity found to handle intent error using mailto link in flutter
I'm using documentation from url_launcher page: https://pub.dev/packages/url_launcher#android
AndroidManifest.xml:

Igor Gaponov
- 178
- 3
- 9
6
votes
4 answers
Flutter url_launcher plugin throws "java.lang.IllegalArgumentException: Receiver not registered: io.flutter.plugins.urllauncher.WebViewActivity"
I'm attempting to use Flutter's url_launcher plugin to open webpages.
When I click a button url_launcher opens a webpage successfully. However, if I then navigate back by swiping left, or using the soft back button, the app crashes. The logs…

Sam
- 1,659
- 4
- 23
- 42
6
votes
2 answers
UrlLauncher( 9700): component name for mailto is null
So I know that for android version >= 30 you need to add queries in the manifest, but this didnt do the trick for me.
Im using Android Version 29. I nevertheless added these lines to my manifest.
So my manifest looks like this.

Nikita
- 477
- 4
- 14
5
votes
1 answer
White space get converted to + in url_launcher mailto scheme | Flutter
I had integrated a mail to scheme in flutter using a url_launcher package. the subject and body were given as query parameters.
final Uri _emailLaunchUri = Uri(
scheme: 'mailto',
path: 'mail@qapp.how',
…

Abhijith Konnayil
- 4,067
- 6
- 23
- 49
3
votes
2 answers
How do I use the new launchUrl() method with a "mailto:" link?
I have a little link in my app that says "Send us an e-mail". When you click it, I want the default email app to open, with an email started to our email address. I used to make it do exactly that with the launch() method in the url_launcher package…

Karolina Hagegård
- 1,180
- 5
- 26
3
votes
0 answers
Flutter web app : open url in the default smartphone browser
I have a firebase dynamic link that can be share in social media like facebook
in some cases when user click on the dynamic link from Facebook app ( example the link is my flutter web app : https://mydomain.app ) this link will be open inside the…

RAITON
- 325
- 2
- 13
3
votes
0 answers
Navigate back to app from url_launcher webview - Flutter - Android
I am currently using the url_launcher dart package for handling urls in my app. I have a basket and checkout flow within my app. At the final stage of this I need to launch a url for the user to confirm their 3ds bank security. Once this is done…

wax_boi
- 151
- 1
- 11
3
votes
0 answers
Flutter url_launcher line break doesn't work in iOS mail program
I'm trying to use the Flutter url_launcher package to create a feedback form template. It worked well so far but I recently did a major package versioning upgrade and now it seems like something is going wrong in the translation of the…

patreu22
- 2,988
- 4
- 22
- 31
2
votes
2 answers
How to use the url_launcher package to just open the default mail app, without having to to compose
await launchUrl(Uri.parse("mailto:"));
Takes me to compose, I just want to open the mail app.
I expected to open the mail app, but it's not working, please suggest any package or lib for it

Frankline Sable
- 316
- 2
- 9
2
votes
1 answer
How do I make mutiple icons go to different url's
I have my app which has some icons, the problem is that I set the icons as extensions/parents of one icon, so when I set an icon to go to a url all other icons go to that url too. But that is not what I want, I want each icon to go to a separate…

CivaaBTW
- 61
- 7
2
votes
1 answer
url_launcher throws MissingPluginException on flutter web after deployment
I want to open the system's email program from the browser and I do this by calling
TextSpan(
text: 'support@company.de',
style: Theme.of(context).textTheme.bodyMedium!.copyWith(
color: Theme.of(context).primaryColor,
…

luckyhandler
- 10,651
- 3
- 47
- 64
2
votes
1 answer
Let the user choose the app to open map in flutter
I am trying to launch the map application according to the user's choice. But the google map on my mobile is opened, Before the bottom sheet that contains the list of apps opens. I want to wait until the user chooses the app. How do I achieve…

Senthur Kumaran
- 1,135
- 1
- 7
- 18
2
votes
1 answer
Launch URL in external chrome App when Flutter App Icon Clicked And Close Both Flutter and Chrome app on Back pressed
Hi Team,
I am creating an app in which when you open the flutter app it's launching the URL of the website in the chrome app. But when I pressed back from the chrome app I also need to kill the flutter app also.
import…

MORE AKASH
- 283
- 1
- 8
2
votes
2 answers
Unhandled Exception: PlatformException(ACTIVITY_NOT_FOUND, No Activity found to handle intent { 09829132444 }, null, null)
I have a button for mailing user, but when i click button it showing platform exception
launchUrl(Uri(path: "mailto:${baseSetting.baseSetting?.mail ?? ''}"))
E/flutter ( 1164): [ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception:…

Mamun Hossain
- 21
- 1
- 5