Skip to content

Deep links panel displays confusing error message if not supported #8228

@elliette

Description

@elliette

Discovered during the monthly DevTools bug bash.

Steps to repro:

  1. Connect DevTools to a non-android Flutter app (e.g. a Flutter ios app)
  2. There is a dialog that says "You selected a non Flutter project" [screenshot 1] (this is confusing because the connected app is a Flutter app, just not a Flutter android app)
  3. Close the dialog
  4. Now the deep links tool shows an infinite spinner [screenshot 2], and at the top right, I see "Android variant:" [screenshot 3]

Expected behavior:

The Deep Links panel should detect that a non-Android app is connected, and display a message that the Deep Links tool is only available for Android (ideally with a link to documentation). This is similar to what we do for the Performance panel when connected to a web app [screenshot 4].

FYI @chunhtai @Hangyujin

Screenshots

[1]
Screenshot 2024-08-22 at 1 10 46 PM

[2]
Screenshot 2024-08-22 at 1 14 23 PM

[3]
Screenshot 2024-08-22 at 1 14 28 PM

[4]
Screenshot 2024-08-22 at 1 22 11 PM

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2important to work on, but not at the top of the work list.screen: deep linksIssues related to the Deep Links screen

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions