Questions tagged [url-launcher]
122 questions
1
vote
0 answers
older version of flutter plugins that compatible with SDK 31
I just finished developing an app but when I compile to apk the following error appear
Warning: The plugin geolocator_android requires Android SDK version 33.
For more information about build configuration, see…

Romario Rio
- 196
- 1
- 11
1
vote
1 answer
I want to open Amazon associate links in the app with url_launcher
I am currently using url_launcher.
"mode: LaunchMode.externalApplication" and if I tap the link I want to show the Amazon app.
But I can't do that.
Probably because I am using Amazon Associates links.
I could not solve the problem.
code
Future…

Tdayo
- 269
- 4
- 11
1
vote
1 answer
How do I make an icon clickable and redirect it to a URL in flutter
So I have my app in which it has a section with some icons, and I want to make those icons clickable and redirect to a url of my choice. I have tried using url_launcher: ^6.1.6 and url_launcher: ^5.7.8 (tnis one at least took me to a blank page). I…

CivaaBTW
- 61
- 7
1
vote
1 answer
url_launche behaves differently in local vs firebase hosting
I have created a simple Flutter Web App and deployed in to Firebase hosting.
I use url_launcher: ^6.0.17
I created a list of links that can be clicked to open in a new window:
dynamic _launchURL() async {
final parsedUrl = Uri(
path: url,
…

user20549886
- 11
- 2
1
vote
2 answers
Flutter error: when using url_launcher plugin
Future launchInBrowser(String url) async {
Uri dir = Uri.parse(url);
if (!await launchUrl(
dir,
mode: LaunchMode.externalApplication,
)) {
throw 'Could not launch $url';
}
}
I am using url_launcher version 6.1.6 flutter…

Mohammad hamad
- 23
- 4
1
vote
0 answers
how do i fix flutter app crashing on android version 9 and below anytime app needs to open another app
My flutter app crashes anytime I need to open other apps from my application like,
whenever file_picker opens file manager to pick files
whenever url_launcher opens the default browser to launch a site
whenever open_file_plus opens a file like a…
1
vote
2 answers
How to send message on specific number (Restaurant number - For food ordering) on whatsapp from my flutter app?
launchWhatsapp(String mobileNumber,BuildContext context) async {
var whatsapp = mobileNumber;
var whatsappAndroid =Uri.parse("whatsapp://send?phone=$whatsapp&text=hello");
if (await canLaunchUrl(whatsappAndroid)) {
await…

Vrusti Patel
- 394
- 2
- 15
1
vote
0 answers
Flutter url_launcher showing white screen for PDF (file on GCP storage) :Android Flutter
The following code opens up the in app browser in iOS and shows the PDF file.
Uri resumeUrl = Uri.https(
storageBaseUrl,
'$storageBucketUrl/${filePath}',
);
if (await canLaunchUrl(resumeUrl)) {
launchUrl(resumeUrl
}
However in case of…

Akash g krishnan
- 469
- 5
- 16
1
vote
1 answer
Flutter run url from default browser using url_launcher
I'm using url_launcher (6.1.5) and I want open the urls in default browser instead of in-app webView.
It seems that the latest version does not support it, since launch function is deprecated, and launchUrl does not support the forceWebView=false…

genericUser
- 4,417
- 1
- 28
- 73
1
vote
1 answer
Opening maps apps (Google Maps, Apple Maps, Waze) in Flutter with url_launcher, getting net::ERR_UNKNOWN_URL_SCHEME?
I want users to pick a maps app (Google Maps or Waze), then click on a start navigating button that opens the selected app up with pre-selected destination coordinates (latitude & longitude).
I've been using url_launcher to do this. When the button…

Kate Belson
- 21
- 5
1
vote
0 answers
How to return to flutter App after a call using launchUrlString
My IOS mobile App has option to call using following function.
The function activated by button tapped
Function callTapped() {
launchUrlString('tel://${mobile.toString()}');
}
How can I return to the App after the call?
How can I add a back…

Kobi
- 127
- 1
- 11
1
vote
1 answer
How to open the bottom sheet that contains the list of applications for opening URL or google map. So the user can select their preferred application?
I tried this one. But, it Directly opens on the Google Maps application. The bottom sheet for choosing the preferred application is not showing. How do I achieve it? So, the user can select their preferred application.
This is my code for now,
try…

Flutter
- 123
- 1
- 9
1
vote
2 answers
launch method in Flutter url_launcher dart package is deprecated, but launchURL does not have forceSafariVC parameter
"launch" method in Flutter url_launcher dart package is deprecated, and it needs to be replaced to launchURL. But launchURL method does not have forceSafariVC parameter.
How would the migration to this new method look like considering the…

Túlio Calazans
- 179
- 2
- 15
1
vote
1 answer
component name for www.xxxxxxxx.com/xxxxxxxx/ is null
here is the code snippet that I trying to launch url,
onPressed: () async {
final Uri url = Uri.parse(state.web);
if ( await canLaunchUrl(url)) {
aunchUrl(url);
}else{
…

Sasitha Dilshan
- 111
- 2
- 15
1
vote
0 answers
How to get data back when you launch the URL in Flutter web
I've one slack URL which I am opening using URL launched and in that URL I need to login to slack and after that, it gives me some JSON response that response I want back in the app. I've tried some solutions but it didn't work.
The URL will return…

Rutvik Gumasana
- 1,458
- 11
- 42
- 66