Questions tagged [url-launcher]

122 questions
2
votes
2 answers

How to launch google maps uri after url_launcher update?

I've update my flutter app packages including url_launcher package from 6.0.20 to 6.1.2. After the update a lot of Android users (API 30/31/32) report that they cannot launch navigation to a defined point (latitude and longitude) using Google Maps…
E.Benedos
  • 1,585
  • 14
  • 41
2
votes
2 answers

Unable to launch google meet via link through flutter application

I am trying to build an application where users can join google meet just with one click(I know it is easier to send a meet link via Whatsapp but I want everything in one place). I have used the url_launcher package since google meet generates a URL…
2
votes
2 answers

How to mock url_launcher package for flutter test?

I used url_launcher: ^6.1.0 in my flutter project. I start to write tests for my widgets, but the part of widgets that used the url_launcher method to launch an URL, not worked properly when running the test. One of the methods that I used inside my…
Taleb
  • 1,944
  • 2
  • 11
  • 36
2
votes
4 answers

Flutter url_launcher downloading the pdf file instead of opening it in browser

I'm using url_launcher: ^5.7.5 and when i'm passing a pdf url in the launch function it it keeps downloading the pdf instead of opening it on my browser, onTap: () async { …
Noob Master
  • 91
  • 1
  • 10
2
votes
1 answer

How to close the Webview at some point in Flutter

I'm using url_launcher to show the webview inside the app to do the payment, After completion of the payment I have to navigate back to the previous screen. Is there any possibility to do this? Should it be handled from webview or mobile app? This…
Infaz
  • 1,133
  • 9
  • 19
2
votes
0 answers

flutter: how to perform a task after the user returns from the launched url

Using url_launcher I launch a website inside my android flutter application. When the user quits the browser after some time I want to perform a task. But how do I recognize that the user has quit the browser and therefore returned to the…
TheUltimateOptimist
  • 1,089
  • 4
  • 19
2
votes
1 answer

Sygic Custom URL IOS

i have been using an url launch that open sygic and drives to coordinates n my website. It looks like this: com.sygic.aura://coordinate|15.06591|47.73341|drive After the last Sygic update this url launch does not work anymore, it fires up Sygic but…
Sjoberg
  • 21
  • 2
1
vote
0 answers

How to open specific payment application in flutter based on the uri string?

My requirement is like, I have to display list of installed application which supports payment as list using flutter and click on the specific application icon will redierct it to application itself. I am able to list down the payment methods. Also,…
Shivani Sonagara
  • 1,299
  • 9
  • 21
1
vote
0 answers

MAUI - After Launcher.OpenAsync, app returns to main window

I've got an application that has structure like that: Main View with menu --press button--> List View --select item from listview--> Modal window. Each modal window contains button, that launches youtube video: await Launcher.Default.OpenAsync(new…
K. Moteluk
  • 17
  • 5
1
vote
1 answer

Error: Directives must appear before any declarations. Try moving the directive before any declarations. import '../url_launcher_string.dart'

Need help. I can't run my app because of this issue. I have reinstalled and tried as much but I can't run...... if I try to run on android, it says the JDK path is invalid and shows. and if I try to run on Chrome, it shows the following error (in…
1
vote
0 answers

is there is a way to redirect users to another application with extra data

so i have a flutter application , and i have a button to redirect users to another application which is a game that have coins in it , and i have a link that gives them amount of coins , when i use the url luncher it redirect first to the web then…
FarZ
  • 11
  • 1
1
vote
2 answers

Launch Whatsapp Business from Flutter

I am trying to launch WhatsApp Business app using Flutter and have written below code: whatsAppBusiness(phone) { print(phone); return launchUrl( Uri.parse( 'whatsapp-business://send?phone=$phone', //…
1
vote
1 answer

Opening Yahoomail app from a flutter app using urllauncher not working

Trying to launch yahoo mail app with URL launcher package but it is not working. Trying to launch yahoo mail app with URL launcher package but it is not working. Tried all possibilties but not working, working smoothly in IOS but not on android --…
Subin Saji
  • 11
  • 1
1
vote
1 answer

Can I use a URL launcher to pick a location on map?

I am wondering to know if I rather to not integrate google or other maps into my application using API keys, is there a way to place a button in the app that opens the devices default map and user can search and find a desired place, then the app…
1
vote
0 answers

Flutter Open Whatsapp and Tel External Link or Launch Apps

i've been looking for the solution around the internet and couldn't solve it yet. Here is the problem: My apps are running on flutter with webview website which is build with Laravel. The website have button to open the whatsapp link and phone…
1
2
3
8 9