I want to add Amazon Affiliate link in my flutter app. I want to open Amazon App when someone click on Button. I am using url launcher package. I have created the button which is opening amazon.com in browser.
ElevatedButton(
onPressed: () {
launch("https://www.amazon.com/");
},
child: Text("amazon"),
),
You can use external_app_launcher plugin
https://pub.dev/packages/external_app_launcher
Not sure about the
amzn://andcom.amazon.mShop.android.shoppingBut better, you can use the official amazon docs in case the user does not have the app installed
https://developer.amazon.com/de/docs/reports-promo/deeplink-to-the-amazon-client.html