I'm trying to open instagram in a user from my flutter app, is this posible?, i tried to add a "Custom Action" using the "url_launcher" package of flutter, but it doesn´t work.
How to launch another app from your flutter app?
Custom Code
import 'package:url_launcher/url_launcher.dart';
// Set your action name, define your arguments and return parameter,
// and then add the boilerplate code using the green button on the right!
Future openInstagramApp() async {
// open instagram app in nielpresidente profile with a button
await launchUrl(Uri.parse('instagram://user?username=username'));
}
Yes
1
1 reply