I am making an app, and I need hyperlinks in it, such as some text saying "Tap me", and when you tap it it takes you to a pre-specified link. Sounded simple, so I looked online and everyone says to use the url_launcher package, however this doesn't work for me. I tried all I could and it still doesn't work.
Here is my issue: I followed all of the installation steps, yet when I try to run my app from scratch, it gives me this error: CocoaPods not installed or not in valid state. Error launching application on iPhone 15 Pro. I found that when I deleted the url_launcher from my pubspec.yaml, and all references to it from my code, this error suddenly goes away and the app runs perfectly fine. I have not found anyone else encounter this error, so any help is greatly appreciated. If it's not fixable, is there any good alternative to url_launcher?