I need to open a whatsapp chat group link invite (https://chat.whatsapp.com/############) from my flutter app without opening the browser first. just using url_launcher and launch('https://chat.whatsapp.com/############') works on android, but on IOS it opens Safari first.
I had the same problem for telegram, but I found this: tg://join?invite=XXXXXX, which I'm 99% sure it will work for IOS, but I didn't find anything similar for Whatsapp, except for Whatsapp://send= but it doesn't work to open the invite
For universal links to work with url_launcher
on iOS you need to pass the forceSafariVC
param as false so that it doesn't open the Safari view first:
launch(url, forceSafariVC: false);