Learn Pain Less

HomeOur TeamContact
Flutter
Flutter URL Launcher not working on IOS
Pawneshwer Gupta
Pawneshwer Gupta
January 03, 2023
1 min
Flutter URL Launcher not working on IOS

There could be a few reasons why the Flutter URL Launcher plugin is not working on iOS. Here are some things you can try:

  1. Make sure you have added the url_launcher dependency in your pubspec.yaml file and run flutter pub get to install the package.
  2. Make sure you have added the LSApplicationQueriesSchemes key to your Info.plist file, with an array value that includes the URL schemes you want to open. For example:
<key>LSApplicationQueriesSchemes</key>
<array>
<string>googlechrome</string>
<string>googlechromes</string>
<string>http</string>
<string>https</string>
</array>
  1. If you are using the canLaunch method to check if the URL can be opened, make sure to add the URL schemes to your Info.plist file as described in step 2.
  2. If you are using the launch method to open the URL, make sure that the URL you are trying to open is a valid URL and can be opened in a browser on your device.

I hope this helps! Let me know if you have any other questions or if these suggestions do not solve the issue.

Learn Flutter in 90 days with Pawneshwer!

Dart Beginners Course in Hindi free of cost for limited period.

Start Learning

250+

LESSONS

30+

COURSES

15+

TUTORS

Subscribe to our newsletter!

We'll send you the best of our blog just once a month. We promise.

Tags

iOSFlutterUniform Resource Locator

Share


Pawneshwer Gupta

Pawneshwer Gupta

Software Developer

Pawneshwer Gupta works as a software engineer who is enthusiastic in creating efficient and innovative software solutions.

Expertise

Python
Flutter
Laravel
NodeJS

Social Media

Related Posts

[Fixed] Error: Member not found: 'packageRoot' in Flutter
[Fixed] Error: Member not found: 'packageRoot' in Flutter
March 03, 2023
2 min
Learn Pain Less  © 2024, All Rights Reserved.
Crafted with by Prolong Services

Quick Links

Advertise with usAbout UsContact Us

Social Media