Webview
A plugin to use Contentsquare in webview_flutter ↗ webviews.
This plugin supports Android and iOS.
This plugin exposes a custom implementation of the Webview tracking feature which tracks webview_flutter ↗ package webviews without having to implement the tracker again.
This package is not required to track these webviews but offers a convenient wrapper around the base ContentsquareWebViewTrackerBuilder class.
This package relies on the Contentsquare Flutter plugin, and does not need any additional configuration.
Installation
Section titled InstallationAdd the contentsquare_webview_flutter package in your pubspec.yaml:
dependencies:  flutter:    sdk: flutter
  contentsquare_webview_flutter: ^2.1.0then run
flutter pub getUsage
Section titled Usagefinal _webViewController = WebViewController();[...]ContentsquareWebViewFlutterTrackerBuilder(  webViewController: _webViewController,  onTrackingReady: () => _webViewController.loadRequest(Uri.parse(url)),  child: WebViewWidget(controller: _webViewController),)Compatibility
Section titled CompatibilityEach version of the Contentsquare Webview Flutter plugin is related to a version of the third party plugin webview_flutter ↗.
| Contentsquare WebView Flutter Version | webview_flutter ↗ Version | Contentsquare Flutter Plugin Version | 
|---|---|---|
| 2.1.0 | ^4.0.0 | ^2.3.0 | 
| 2.0.0 | ^4.0.0 | ^2.0.0 | 
| 1.0.0 | ^3.0.0 | ^1.3.2 | 
Changelog
Section titled Changelog2.2.0 - 2023.06.21
Section titled 2.2.0 - 2023.06.21- Contentsquare Flutter Plugin:
- 2.3.0 → 3.1.0
 
- Support of Flutter 3.10
2.1.0 - 2023.05.03
Section titled 2.1.0 - 2023.05.03- Contentsquare Flutter Plugin:
- 2.2.0 → 2.3.0
 
2.0.0 - 2023.03.28
Section titled 2.0.0 - 2023.03.28- Support of webview_flutter v4
1.0.0 - 2023.03.22
Section titled 1.0.0 - 2023.03.22- Support of webview_flutter v3