Flutter URL Launcher not working on IOS
January 03, 2023
There could be a few reasons why the Flutter URL Launcher plugin is not working on iOS. Here are some things you can try:
url_launcherdependency in your
pubspec.yamlfile and run
flutter pub getto install the package.
LSApplicationQueriesSchemeskey to your
Info.plistfile, with an array value that includes the URL schemes you want to open. For example:
canLaunchmethod to check if the URL can be opened, make sure to add the URL schemes to your
Info.plistfile as described in step 2.
launchmethod 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.