Add webview tracking support for flutter_inappwebview plugin
orevial opened this issue · 5 comments
Feature description
Web View tracking for Flutter is closely coupled to Flutter default webview plugin webview_flutter
.
It would be great if there was the same kind of extension on the very popular plugin flutter_inappwebview
as well.
This would offer this kind of integration for this plugin :
Proposed solution
Add an extension to flutter_inappwebview
controller like we have today for flutter_webview
, e.g.:
InAppWebView(
initialSettings: InAppWebViewSettings(
... some settings
)..trackDatadogEvents(
DatadogSdk.instance,
['myapp.example'],
)
)
Other relevant information
Proposed solution would be the most integrated solution.
Hi @orevial,
I will look into it. Can you also raise a feature request with Datadog support so we can capture this internally?
Thanks!
Sure, will do !
Also looking forward to this feature.
I've started looking into supporting this, but I've run into some issues that appear to be in the package itself that are preventing a full implementation.
Can you tell me what version of the package you're using, and which portions you're using (InAppWebView
, InAppBrowser
or ChromeSafariBrowser
)?
Essentially, InAppBrowser
in 6.0+ appears to be broken on Android 33+, at least in my testing.