From a86f0d3df86c849f3e1c1e397447d642315bf2bf Mon Sep 17 00:00:00 2001 From: Feodor Fitsner Date: Mon, 20 Oct 2025 10:10:27 -0700 Subject: [PATCH] Update webview_flutter_android dependency handling Moved webview_flutter_android to be conditionally included based on the presence of 'flet_webview' in dependencies. Cleaned up commented-out geolocator dependencies. --- {{cookiecutter.out_dir}}/pubspec.yaml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/{{cookiecutter.out_dir}}/pubspec.yaml b/{{cookiecutter.out_dir}}/pubspec.yaml index 4666bee..6cef3e3 100644 --- a/{{cookiecutter.out_dir}}/pubspec.yaml +++ b/{{cookiecutter.out_dir}}/pubspec.yaml @@ -38,21 +38,15 @@ dependency_overrides: wakelock_plus: ^1.2.10 web: ^1.0.0 window_manager: ^0.4.3 - webview_flutter_android: 4.10.1 # {% if 'flet_webview' in cookiecutter.flutter.dependencies %} - #webview_flutter_android: 4.10.1 + webview_flutter_android: 4.10.1 # {% endif %} # {% if 'flet_audio_recorder' in cookiecutter.flutter.dependencies %} record: ^5.1.1 # {% endif %} -# {% if 'flet_geolocator' in cookiecutter.flutter.dependencies %} -# geolocator: ^12.0.0 -# geolocator_android: ^4.6.0 -# {% endif %} - dev_dependencies: flutter_launcher_icons: ^0.14.1 flutter_native_splash: ^2.4.1