Support 16KB pages for apps targeting Android 15+ (#53)

* Update serious_python dependency ref in pubspec.yaml

Changed the git ref for the serious_python dependency from 'main' to 'android-16k' to use a different branch or commit.

* Update webview_flutter_android to version 4.10.1

Bumped the webview_flutter_android dependency from ^4.0.0 to 4.10.1 in pubspec.yaml to ensure compatibility with the latest features and bug fixes.

* Add conditional override for webview_flutter_android

Introduced a conditional block in pubspec.yaml to override the webview_flutter_android dependency only if 'flet_webview' is present in the dependencies. This improves template flexibility for different dependency configurations.

* 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.
This commit is contained in:
Feodor Fitsner 2025-10-20 10:12:51 -07:00 committed by GitHub
parent 992a77781a
commit c81a793fc3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 7 deletions

View File

@ -32,23 +32,21 @@ dependency_overrides:
serious_python: serious_python:
git: git:
url: https://github.com/flet-dev/serious-python.git url: https://github.com/flet-dev/serious-python.git
ref: main ref: android-16k
path: src/serious_python path: src/serious_python
wakelock_plus: ^1.2.10 wakelock_plus: ^1.2.10
web: ^1.0.0 web: ^1.0.0
window_manager: ^0.4.3 window_manager: ^0.4.3
webview_flutter_android: ^4.0.0
# {% if 'flet_webview' in cookiecutter.flutter.dependencies %}
webview_flutter_android: 4.10.1
# {% endif %}
# {% if 'flet_audio_recorder' in cookiecutter.flutter.dependencies %} # {% if 'flet_audio_recorder' in cookiecutter.flutter.dependencies %}
record: ^5.1.1 record: ^5.1.1
# {% endif %} # {% endif %}
# {% if 'flet_geolocator' in cookiecutter.flutter.dependencies %}
# geolocator: ^12.0.0
# geolocator_android: ^4.6.0
# {% endif %}
dev_dependencies: dev_dependencies:
flutter_launcher_icons: ^0.14.1 flutter_launcher_icons: ^0.14.1
flutter_native_splash: ^2.4.1 flutter_native_splash: ^2.4.1