148 questions
0
votes
2
answers
58
views
How to show app selection (Google Maps, Uber, Ola, Apple Maps) when opening navigation from Flutter?
I have a Flutter app where I want to let the user choose which installed app (Google Maps, Uber, Ola, Apple Maps, etc.) should open for navigation.
Currently, my code directly opens Apple Maps on iOS ...
2
votes
1
answer
168
views
Error when using url_launcher plugin in Flutter
Question description
I'm trying to use the url_launcher plugin in my Flutter project. To ensure version compatibility, I set the dependency version to any in pubspec.yml:
dependencies:
url_launcher: ...
0
votes
2
answers
186
views
Flutter: url_launcher not working on play store release
I'm using the url_launcher package in my flutter application. Testing on debug mode works, and so does release mode. However, when I update my app on the play store, it doesn't work. I have also tried ...
0
votes
1
answer
41
views
Change the cursor to pointer in url_launcher Link widget
How can I change the cursor to pointer when a user hovers over the link on web? I have tried MouseRegion and it's not working:
import 'package:url_launcher/link.dart';
class UserAgreementText extends ...
0
votes
1
answer
207
views
Flutter iOS UrlLauncher EXC_BAD_ACCESS
Can some one point me on a direction on how to fix this issue?
I'm trying to use Flutter with UrlLauncher to launch an URL and on start up I get the following error.
Exception Type: EXC_BAD_ACCESS (...
1
vote
0
answers
101
views
Is it possible to send images or files via WhatsApp using the url_launcher package in Flutter?
I am trying to send an image along with a message to a specific phone number on WhatsApp using Flutter's url_launcher package. I am currently able to send plain text messages using the whatsapp://send ...
10
votes
2
answers
16k
views
Flutter iOS build fails with "UIApplication does not conform to protocol 'Launcher'" error in url_launcher_ios
I'm getting a build error when trying to run my Flutter app on iOS simulator. The error seems to be related to the url_launcher_ios plugin.
Error Message:
/Users/user/.pub-cache/hosted/pub.dev/...
-3
votes
1
answer
114
views
Why is the URL Launcher doesnt work, am I doing it wrong?
I got this code from Chat GPT, and I already asking many times to Chat GPT why is it error, but it doesnt help at all, and then I tried using the URL Launcher logic from the internet, and it still ...
2
votes
2
answers
782
views
Flutter apps hangs up in simulator after launching a url (e.g. URL Launcher)
I am developing a Flutter app and using the url_launcher package to open URLs. The app works fine on Android and older versions of iOS, but when I test it on iOS 18 using the simulator, the app hangs ...
3
votes
1
answer
285
views
GoException no routes for location using "url_launcher" on Flutter
I am using url_launcher: 6.3.0 in my app, without any direct usage of go_router plugin in it. The code I am using to open a link is:
Future<void> _launchUrl(Uri url) async {
if (!await ...
0
votes
2
answers
301
views
Flutter open sms with pretext and without phonenumber
I have a working function to launch sms using url_launcher
launchsms(BuildContext context, String phoneNumber) async {
try {
if (Platform.isAndroid) {
String smsuri = 'sms:$...
0
votes
1
answer
306
views
Flutter url_launcher - token not working on iOS and Android simulator
When using url_launcher with following code, the token is not taken into account in iOS and Android simulators. It opens the url starting with login page, while with the 'Authorization' header and ...
0
votes
1
answer
125
views
Url Launcher stratagy flutter web
i develope app using flutter and used url_launcher and for routing used go_router.
while developing app and open url then it's work fine, but when build and upload to my server then it's not working ...
1
vote
0
answers
744
views
Implementing UPI Payments in Flutter: Handling Google Pay Intent in iOS
I am currently working on a Flutter app that involves UPI (Unified Payments Interface) payments. In the Android part of the app, I've successfully implemented UPI payments using method channels. I've ...
3
votes
1
answer
347
views
How do i replicate the HTML anchor tag navigation to Jump to a Specific Part of a Page in Flutter?
I am currently using flutter_widget_from_html_core to view html string that we got from our cms. Additionally, am using url_launcher package to open an anchor tag href.
Current approach:
HtmlWidget(
...
0
votes
1
answer
385
views
How to detect url_launcher disapear
I have used launchUrl(uri); of url_launcher package to open a webview.
I want to detect when the user taps to 'Done' or Webview of url_launcher disappears.
How can I make it?
0
votes
1
answer
318
views
Force in-app webview instead of browsing external app for youtube video with url_launcher
In my app , I want to open in-app web view instead of browsing external youtube link using url launcher. What should I do?
Or Should I use in-app web view plugin instead?
This is my code.
if (await ...
1
vote
1
answer
485
views
Flutter WebView Does Not open external links
so I´ve been working in a webview project for my php code, the thing is, I have some redirects inside the app, like email, phone and others.
The problema is it doesnt seen to work been trying to use ...
0
votes
0
answers
710
views
Flutter url_launcher hangs after browser opens
I'm having a problem launching URLs from my Flutter app on Android emulator. I've scaled it back to a minimal example of my problem is this:
class MyApp extends StatelessWidget {
const MyApp({super....
1
vote
3
answers
6k
views
Open the web browser from a flutter application, and then redirect to the application again
I am developing a mobile application using Flutter, and i have the web version using angular, and the back is using nodejs.
For some reason, i want to do the following work flow:
When the user is ...
-1
votes
1
answer
63
views
I am new to flutter, and would like to open google map How do I fix the error The argument type 'String' can't be assigned to the parameter type 'Uri' [duplicate]
import 'package:url_launcher/url_launcher.dart';
class MapsUtils {
MapsUtils._();
//latitude longitude
static Future<void> openMapWithPosition(
double latitude, double longitude) ...
0
votes
0
answers
176
views
url_launcher not opening app on iOS but works on Android in flutter
I am trying to open some native apps e.g. salesforce to done SSO, And I'm using url_launcher package for that. Its working as expected in Android but not working in iOS.
I tried all launchmode.
Here ...
1
vote
0
answers
363
views
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.
...
1
vote
1
answer
545
views
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 ...
1
vote
2
answers
961
views
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?...