Skip to content

Check for modern web libraries to determine if an app is a web app #9973

Description

@kenzieschmoll

We currently check for the presence of dart:html in the connected app to determine whether it is a web application.

https://github.com/flutter/devtools/blob/master/packages/devtools_app_shared/lib/src/service/connected_app.dart#L88-L89

We should make this an OR check with a package:web or dart:js_interop library. Leaving the dart:html condition we allow us to still support apps using dart:html (e.g. g3).

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1high priority issues at the top of the work list, actively being worked on.cleanup

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions