Skip to content

WebView tracking is broken in iOS in Flutter 3.41 #950

@fuzzybinary

Description

@fuzzybinary

Describe the bug

The current methods we use to access the FlutterPluginRegistry (using the FlutterAppDelegate or the FlutterRootViewController attached to that delegate) no longer work given Flutter's transition to using UIScene.

Accessing the registry is necessary to get the WebViews that it creates to install our tracking.

We're still looking into a potential solution to either access the registry, or the published plugin value.

Reproduction steps

Install datadog_webview_tracking.
Attempt to track the webview.

SDK logs

No response

Expected behavior

No response

Affected SDK versions

3.0.1

Latest working SDK version

3.0.1

Did you confirm if the latest SDK version fixes the bug?

Yes

Flutter Version

3.41.0

Setup Type

No response

Device Information

No response

Other relevant information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions