Skip to content

InAppWebView on iOS cause false positive detection of dev tools #2583

Open
@adminant

Description

@adminant

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

When devtools-detector is used on page loaded in iOS InAppWebView page
https://github.com/AEPKILL/devtools-detector/blob/master/src/index.ts
it returns false positive, so page cannot be loaded after check is failed

Expected Behavior

There are no dev tools active when page is loaded on iOS safari web view, so dev tools must not find it.

Steps with code example to reproduce

use
https://github.com/AEPKILL/devtools-detector/blob/master/src/index.ts
on some page and it find dev tools in iOS safari web view

Stacktrace/Logs


Flutter version

3.27.4, 3.29.2

Operating System, Device-specific and/or Tool

iOS 17.4

Plugin version

6.1.5

Additional information

No response

Self grab

  • I'm ready to work on this issue!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions