Skip to content

[Android] Activation of "Supported web address" is mandatory to use App links #12153

@KCO-SK

Description

@KCO-SK

Steps to reproduce

  1. Set up Android app links as explained in the official Flutter guide (hosting assetlinks.json file, etc.)
    https://docs.flutter.dev/cookbook/navigation/set-up-app-links
  2. The adb shell test works fine afterwards
  3. "Open supported links" is active by default within the app settings of the installed app on an Android device
  4. Anyway, app links do not work until the "Supported web address" within the app settings submenu is toggled on manually (it is deactivated by default)

I am not asking for assistance on my personal code.
I am just wondering if this is really how it is meant to work, because the Flutter documentation ends after the add shell test and most users will never go so deep to activate the defined web address manually inside the app settings.

P.S.: The iOS app links work as expected within the same app without any manual setup by the user.

Expected results

"Supported web address" should be toggled on automatically or not be necessary to make app links work if <intent-filter android:autoVerify="true"> is used within the AndroidManifest.xml.

Actual results

Android app links only work if "Supported web address" is toggled on manually.

Code sample

AndroidManifest.xml
            <intent-filter android:autoVerify="true">
                <action android:name="android.intent.action.VIEW" />
                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.BROWSABLE" />
                <data android:scheme="http" android:host="company.web.io" />
                <data android:scheme="https" />
            </intent-filter>

Screenshots or Video

Screenshots / Video demonstration

Image

Image

Logs

No response

Flutter Doctor output

Doctor output
[✓] Flutter (Channel beta, 3.34.0-0.0.pre, on macOS 15.5 24F74 darwin-arm64, locale de-DE) [487ms]
    • Flutter version 3.34.0-0.0.pre on channel beta at /opt/homebrew/Caskroom/flutter/3.22.2/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 01fde956f0 (6 days ago), 2025-06-16 13:32:43 -0500
    • Engine revision 8ed9edbd7a
    • Dart version 3.9.0 (build 3.9.0-196.1.beta)
    • DevTools version 2.47.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    e2-daysEffort: < 5 daysp2-mediumNecessary but not urgent concern. Resolve when possible.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions