Questions tagged [url-launcher]
122 questions
0
votes
0 answers
Flutter how open an url in browser with cookies
I am using url_launcher package to open a link with browser in my flutter app.
but how can I send some cookies too? if url_launcher can't do this, is there any other packages or ways to do this task?
my scenario is get cookies form WebView which…

Mohad Hadi
- 1,826
- 3
- 24
- 39
0
votes
2 answers
How to Handle (Tel:,Mailto:,Wa:,Sms:) In Flutter Inappwebview?
I'm making a humanitarian flutter project using the inappwebview & url_launcher package, I've been looking for some references but all the code doesn't work properly, can you help me how to make my coding work?
My hope: I want when the url tel,…

dickynugroho hidayatulloh
- 45
- 1
- 10
0
votes
1 answer
firebase auth and url_launcher version conflicts
We are a team working on a small android app using Flutter.
When I tried to merge 2 branches, one using firebase (Auth) & the other one using url_launcher.
I keep getting this error when trying to flutter pub get
flutter pub get
Running "flutter pub…

M0ngi
- 184
- 1
- 9
0
votes
3 answers
How to open URL in flutter app with url_launcher?
I use the package url_launcher to open url, here is the code:
Future _openURL(String url) async{
if(await canLaunch(url)) {
await launch(
url,
forceSafariVC: false,
forceWebView: true,
);
}
…

Dalon
- 566
- 8
- 26
0
votes
2 answers
How to send a file to a particular number in whatsapp using any plugin in flutter?
I have gone through some answers there , but everywhere I was getting only how to send a text message to a particular mobile number from a flutter app . I need a way to send a file in whatsapp to a particular number in flutter . Any suggestions are…

Rontu Barhoi
- 55
- 1
- 7
0
votes
1 answer
Flutter 1.22.6 - url_launcher - Sending HTML email
I have two problems with the url_launcher: ^5.7.10
First Problem:
When I try to send an email with html tag, on a real device, if I use Gmail application the body of my email is not well formated. I see the HTML tags. I tried with or without HTML5…

Olivier Maily
- 1
- 1
0
votes
1 answer
E/flutter ( 3719): [ERROR:flutter/lib/ui/ui_dart_state.cc(199)] Unhandled Exception: Could not launch https://www.google.gr/?hl=el
I have a error when I click the FloatingActionButton. Can you help me please?
When I press the button from my physical device my program stops and I must resume it from debug tools.
This is my code:
class _MyHomePageState extends State…
0
votes
1 answer
How to resolve could not launch Error in Url launcher
I am trying open a link on Google pixel API 30 Emulator but keep on getting error. Have tried flutter clean, restarted app.
Dependency:-
url_launcher: ^6.0.3
Code:-
InkWell(
onTap:() => _launchURL("https://google.com"),
child:…

GAGAN SINGH
- 261
- 2
- 17
0
votes
0 answers
How to attached a file when composing a mail with flutter windows package url launcher?
I have tried using mailer to send email but I want to first open the mail app and then ataching a file into it. So I have been using flutter windows package url launcher but I could only seem to add a subject and a body.
0
votes
1 answer
Message body disappear after hash symbol in flutter url_launcher when send a SMS
I'm using url_launcher in flutter to send SMS.
But there are hash symbols in my message body, and after hash symbols ,all message is disappear.
For example,
String uri= 'sms:$phoneNumber?body=123##456';
if (await canLaunch(uri)) {
await…

ryanhuang1124
- 185
- 1
- 1
- 9
-1
votes
1 answer
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'
import 'package:url_launcher/url_launcher.dart';
class MapsUtils {
MapsUtils._();
//latitude longitude
static Future openMapWithPosition(
double latitude, double longitude) async {
String googleMapUrl =
…

Moha Nkossie
- 1
- 1
-1
votes
1 answer
I am trying to make a simple application but I keep getting this Error1
Because url_launcher_example depends on integration_test from path which doesn't exist (could not find package integration_test at "......\integration_test"), version solving failed.
pub get failed
command:…

Akanksha
- 11
-1
votes
1 answer
How convert a binary to pdf in flutter
I have a variable to return in console:
[/PDF /Text /ImageB /ImageC /ImageI]
I/flutter (15515): endobj
I/flutter (15515): 10 0 obj
I/flutter (15515): << /Length 5716 /Filter /FlateDecode >> stream ...
in flutter, my pdf is genereated through post
…
-1
votes
1 answer
Although there is no error in the application that I want to show the weather from the internet, a white screen appears
launchUrl not working
import 'package:flutter/material.dart';
import 'package:haber_app/data/new_service.dart';
import 'package:haber_app/models/articles.dart';
import 'package:url_launcher/url_launcher.dart';
class Home extends StatefulWidget {
…

egemen sezer
- 3
- 1
-1
votes
2 answers
I can't open mail via Launcher URL in flutter
My Code is not working. Do not opening email via this code. Their shows a null error.
user19196093