Help with launching url in an external browser (not in webapp view)

Resolved

Hi everyone,

I've been fiddling with a custom action for a while trying to make it so that a launched url opens in whatever the default web browser is on someone's device (iOS or Android), but I can't get the code to work at all. I tried working with ChatGPT, but url_launcher has been updated significantly since CatGPT4.0 was trained and it is using deprecated functions (e.g. launch vs the newer launchURL).

So, does anyone have a block of code for a custom action that would take in a url and then launch it in an external browser?

Thanks!

Jeff

2
2 replies