Flutter Android force open link in browser ignore deeplink

65 views Asked by At

We have an SBP payment service that listens to many banking applications.

Example of a link: https://qr.nspk.ru/AD10002V20O0JLDS83JAP5SO8NPB0D8P

launchUrl(url, mode: LaunchMode.platformDefault);

How do I tell the Android operating system to open the link in the system browser without being intercepted via deeplink by third-party applications?

1

There are 1 answers

1
Jemis Goti On

It will be not possible to filter browser only. It will show all apps which support your specific deeplink url. You can either open url in the in App Web View or in App Browser View using LaunchMode.

launchUrl(url, mode: LaunchMode.inAppWebView);

or

launchUrl(url, mode: LaunchMode.inAppBrowserView);