Commit Graph

167 Commits

Author SHA1 Message Date
Feodor Fitsner ad5248b0cf
Update asset and entrypoint base URLs in index.html (#65)
Replaced hardcoded assetBase and added entrypointBaseUrl to use the value from cookiecutter.base_url. This improves configurability for different deployment environments.
2026-01-12 16:13:38 -08:00
Feodor Fitsner 3f801f2731 Enable serious_python dependency override
Uncommented the serious_python dependency override in pubspec.yaml to use the specified git repository, branch, and path.
2025-12-29 19:12:51 -08:00
Feodor Fitsner 12b60195be Comment out serious_python dependency override
The serious_python dependency override has been commented out in pubspec.yaml, possibly to disable its use or resolve conflicts during development.
2025-12-29 19:03:42 -08:00
Feodor Fitsner cca68eb3da
Fix creating app.zip on Windows
Uncommented the serious_python dependency and updated its git reference to 'app-zip-windows-fix' in pubspec.yaml. This change ensures the project uses the latest fixes from the serious-python repository.
2025-12-29 18:58:02 -08:00
Feodor Fitsner bbfc5c0cf5
Fix iOS routing on a cold start (#62)
* Use relative socket paths instead of absolute paths

Replaced usage of absolute paths with relative socket file names for Unix domain sockets. This change simplifies socket file handling and may improve compatibility across different environments.

* Update temp directory usage for socket paths

Replaced getApplicationCacheDirectory with getTemporaryDirectory for app temp path. Updated socket file paths to use the correct temp directory, ensuring consistency and proper file placement across platforms.

* Revert "Update temp directory usage for socket paths"

This reverts commit 84c512c0c6.

* Log incoming route information from platform

Added a handler for PlatformDispatcher.onRouteInformationUpdated to log every incoming route or deeplink. This helps with debugging and tracking navigation events from the platform.

* Add RouteLogger to observe route information

Introduced a RouteLogger class implementing WidgetsBindingObserver to log incoming route information. Replaced the previous onRouteInformationUpdated handler with the observer pattern for improved route logging.

* Update flet dependency to deep-linking-fix branch

Changed the flet package override to use the 'deep-linking-fix' branch instead of 'main' for testing or applying fixes related to deep linking.

* Update deep linking bootstrap and flet dependency ref

Replaces manual route logging with FletDeepLinkingBootstrap.install() in main.dart for improved deep linking support. Updates the flet dependency git ref to 'deep-linking-fix-2' in pubspec.yaml.

* Update flet dependency to use main branch

Changed the flet dependency override from the 'deep-linking-fix-2' branch to the 'main' branch to track the latest stable updates.
2025-12-22 21:28:01 -08:00
Feodor Fitsner edaf215577
0.70.0 routing fix (#61)
* Update flet dependency to routing-fix branch

Changed the flet dependency override to use the 'routing-fix' branch instead of 'main' for testing or applying routing-related fixes.

* Add hideWindowOnStart option to app startup

Introduces a new hideWindowOnStart configuration option, allowing the app window to be hidden on startup based on project settings. Passes this option to setupDesktop for improved control over window visibility during launch.

* Remove unused setupDesktop function

Deleted the setupDesktop function from main.dart as it is no longer used. This helps clean up the codebase and removes unnecessary platform-specific initialization logic.

* Update serious_python and flet dependencies

Bump serious_python to version 0.9.7 and update flet dependency override to use the main branch. Also comment out the serious_python git override.

* Enable serious_python with updated git reference

Uncommented the serious_python dependency and updated its git reference to use the 'android-logging-fix' branch. This change ensures the project uses the latest fixes from the serious_python repository.

* Update flet dependency to video-crash-fix branch

Changed the flet dependency override to use the 'video-crash-fix' branch instead of 'main' to address video-related issues.

* Update flet dependency to use main branch

Changed the flet dependency override from the 'video-crash-fix' branch to the 'main' branch in pubspec.yaml. This ensures the project uses the latest stable code from the main branch.

* Update serious_python to version 0.9.8

Bump serious_python dependency from 0.9.7 to 0.9.8 and comment out the git override for serious_python in pubspec.yaml.
2025-12-22 09:58:10 -08:00
Feodor Fitsner 68f3727168
0.70.0 android crash fix (#60)
* Update serious_python dependency ref

Changed the git reference for serious_python from 'android-crash-fix' to 'android10-fix' in pubspec.yaml to use the latest fix.

* Update serious_python dependency ref

Changed the git reference for serious_python from 'android10-fix' to 'android-crash-fix' in pubspec.yaml to use the latest fix for Android crashes.

* Update serious_python dependency ref in pubspec.yaml

Changed the git ref for serious_python from 'android-crash-fix' to 'android10-fix' to use the updated branch.

* Add random suffix to UDS socket filename

Appends a random 8-character string to the Unix Domain Socket filename to avoid potential conflicts when multiple instances are running. Introduces a helper function for generating random strings.

* Revert "Add random suffix to UDS socket filename"

This reverts commit bcff44e8e1.

* Comment out debugPrint override in release mode

The line that disables debugPrint in release mode has been commented out, allowing debug messages to be printed even in release builds. This may be for troubleshooting or to temporarily enable logging.

* Fix UDS path for FLET_SERVER_UDS_PATH environment variable

Updated the UDS path assignment to use the full path by joining appTempPath and the socket filename. This ensures the environment variable points to the correct socket location.

* Fix UDS path assignment for non-Windows platforms

Corrects the construction of the Unix Domain Socket path by joining the temp directory and socket filename, ensuring the environment variable and pageUrl are set consistently.

* Enable debugPrint suppression in release mode

Uncommented the line that suppresses debugPrint output when not in debug mode and in release builds. Also updated socket address generation to use a temporary storage path from environment variables for non-TCP output.

* Fix null safety issue with environment variable access

Added a non-null assertion operator to ensure 'FLET_APP_STORAGE_TEMP' is not null when constructing the socket address path.
2025-12-16 15:51:19 -08:00
Feodor Fitsner ba9e4ac3dc Update serious_python to use git ref android-crash-fix
Switched serious_python dependency from version 0.9.6 to a specific git reference (android-crash-fix) to address Android crash issues. This change points to the source in the serious-python repository.
2025-12-10 13:04:45 -08:00
Feodor Fitsner 8255791c47
0.70.0 sensors (#59)
* Update flet dependency to use 'sensors' branch

Changed the flet package override to reference the 'sensors' branch instead of 'main'. This may be to incorporate new features or fixes related to sensors from the upstream repository.

* Update and clean up dependencies in pubspec.yaml

Removed 'url_strategy' dependency, updated 'package_info_plus' and 'window_manager' to newer versions, and added 'sensors_plus'. This keeps dependencies current and removes unused packages.

* Add url_strategy dependency to pubspec.yaml

Included the url_strategy package version 0.2.0 to the dependencies for improved URL handling in the project.

* Update sensors_plus to version 7.0.0

Bumped sensors_plus dependency from 6.1.1 to 7.0.0 in pubspec.yaml to use the latest features and fixes.

* Add screen_brightness dependency and update flet ref

Added the screen_brightness package to dependencies and updated the flet dependency override to use the sensors-brightness branch. This enables brightness control functionality and ensures compatibility with the latest flet features.

* Update flet dependency override to 'sensors' ref

Changed the flet package git reference from 'sensors-brightness' to 'sensors' in pubspec.yaml to use the updated branch.

* Add wakelock_plus dependency

Added wakelock_plus version 1.4.0 to pubspec.yaml to enable wakelock functionality in the project.

* Remove wakelock_plus and window_manager dependencies

The wakelock_plus and window_manager dependencies have been removed from pubspec.yaml, possibly due to no longer being required in the project.

* Remove url_strategy dependency from pubspec.yaml

The url_strategy package has been removed from the dependencies list, possibly because it is no longer needed or used in the project.

* Update url_strategy import and add flutter_web_plugins

Replaced the url_strategy import with flutter_web_plugins/url_strategy in main.dart and added flutter_web_plugins to pubspec.yaml dependencies to ensure compatibility and proper URL strategy support.

* Replace setPathUrlStrategy with usePathUrlStrategy

Updated the URL strategy function call to usePathUrlStrategy for web routing. This change ensures compatibility with the latest API and improves route handling.

* Add wakelock_plus to dependency overrides

Added wakelock_plus version 1.4.0 to the dependency_overrides section in pubspec.yaml to enable wakelock functionality in the project.

* Add file_picker dependency to pubspec.yaml

Included the file_picker package (version ^10.3.3) in dependencies to enable file selection functionality in the project.

* Add new dependencies to pubspec.yaml

Added device_info_plus, shared_preferences, and url_launcher to the dependencies. Reordered some existing dependencies for consistency.

* Add battery_plus dependency to pubspec.yaml

Included battery_plus version ^6.2.2 in dependencies to enable battery information features in the project.

* Add connectivity_plus dependency to pubspec.yaml

Added the connectivity_plus package (version ^6.1.2) to the dependencies for network connectivity features.

* Add share_plus dependency to pubspec.yaml

Included the share_plus package (version ^12.0.1) in dependencies to enable sharing functionality within the project.

* Update Flutter plugin dependencies to latest versions

Upgraded battery_plus, connectivity_plus, device_info_plus, and screen_brightness to their latest compatible versions in pubspec.yaml to ensure compatibility and access to new features and bug fixes.

* Update flet dependency to use main branch

Changed the flet dependency override from the 'sensors' branch to the 'main' branch in pubspec.yaml to ensure the latest stable code is used.
2025-12-10 09:02:43 -08:00
Feodor Fitsner 61311bdcb9 Add file_picker dependency to pubspec.yaml
Included the file_picker package (version ^10.3.3) in dependencies to enable file selection functionality in the project.
2025-12-03 19:09:29 -08:00
Feodor Fitsner e6cc49ad0d Add serious_python dependency to pubspec.yaml
Included serious_python version 0.9.6 in the dependencies to enable new functionality or integration with Python features.
2025-12-01 16:27:51 -08:00
Feodor Fitsner 9118887b76 Update serious_python to 0.9.6 and .gitignore
Bumped serious_python dependency to 0.9.6 and commented out the git override in pubspec.yaml. Added duplicate .DS_Store entry to .gitignore.
2025-12-01 16:19:06 -08:00
Feodor Fitsner e546842ec7 Add package_info_plus dependency
Added the package_info_plus dependency (version ^9.0.0) to pubspec.yaml to enable access to app package information.
2025-12-01 12:31:50 -08:00
Feodor Fitsner ce93e1b6d1 Update dependencies in pubspec.yaml
Removed 'serious_python' from dependencies and added 'wakelock_plus' and 'window_manager' with updated versions. Cleaned up commented-out dependencies for better clarity.
2025-12-01 12:30:38 -08:00
Feodor Fitsner d7e6f82fad Update serious_python version and comment out dependencies
Upgraded serious_python from 0.9.2 to 0.9.5 in pubspec.yaml. Commented out wakelock_plus, web, and window_manager dependencies, possibly for configuration or cleanup.
2025-12-01 12:26:20 -08:00
Feodor Fitsner 03432cb38a Update serious_python dependency to git source
Switched serious_python from version 0.9.5 to a git reference at 'fix-zip-directory' branch for improved compatibility or bug fixes.
2025-12-01 11:57:01 -08:00
Feodor Fitsner a9e9f340ae Update serious_python to version 0.9.5
Replaces the previous git dependency for serious_python with the published version 0.9.5 in pubspec.yaml. This change simplifies dependency management and ensures compatibility with the latest release.
2025-12-01 11:28:15 -08:00
Feodor Fitsner 4c63345e28
Migrate Android build scripts to Kotlin DSL (#58)
Replaces Groovy-based Gradle files with Kotlin DSL equivalents for build.gradle, settings.gradle, and app/build.gradle. Updates AndroidManifest.xml to add taskAffinity and queries for PROCESS_TEXT intent. Refactors MainActivity.kt for cleaner syntax. Increases Gradle JVM memory settings and updates Gradle wrapper and plugin versions for improved build performance and compatibility.
2025-11-27 17:12:15 -08:00
Feodor Fitsner 1a928b53b4 Rename isProduction to isRelease and update usage
Replaces the isProduction constant with isRelease for clarity and updates its usage in the prepareApp function to ensure debugPrint is disabled only in release mode.
2025-11-26 09:55:13 -08:00
Feodor Fitsner 11d46e41f8 Update serious_python dependency to use git source
Switched serious_python from version 0.9.4 to a git reference pointing to the ios-bundle-id-fix branch. This allows using the latest changes from that branch instead of the published version.
2025-11-16 10:10:31 -08:00
Feodor Fitsner 85c1abcf33 Update serious_python dependency to version 0.9.4
Replaces the git-based serious_python dependency with the published version 0.9.4. The previous git configuration is now commented out for reference.
2025-10-29 13:15:37 -07:00
Feodor Fitsner 2bc7e34ee6
0.70.0 AGP/Kotlin update for Android (#55)
* Update Android build to Gradle 8.10.2 and Kotlin 2.0.20

Upgraded Gradle wrapper to 8.10.2 and updated Android Gradle plugin to 8.6.1. Migrated Kotlin plugin to org.jetbrains.kotlin.android version 2.0.20 and set Java compatibility to 11. Removed legacy buildscript block for Kotlin in build.gradle for improved build configuration.

* Update Java and Kotlin compatibility to version 17

Changed source and target compatibility for Java and Kotlin from version 11 to 17 in build.gradle to support newer language features and improve compatibility with modern tooling.

* Update Kotlin Android plugin to version 2.1.0

Bumped the org.jetbrains.kotlin.android Gradle plugin from 2.0.20 to 2.1.0 in settings.gradle to use the latest features and improvements.
2025-10-20 10:54:50 -07:00
Feodor Fitsner 7fa867f7a4
Update serious_python ref and adjust dependencies (#54)
Changed the serious_python dependency to use the 'android-16k' ref instead of 'hidden-files-fix'. Moved webview_flutter_android under a conditional block for flet_webview dependency.
2025-10-20 10:26:20 -07:00
Feodor Fitsner ab6a327f67 Update serious_python dependency to main branch
Changed the serious_python dependency override to use the 'main' branch instead of 'hidden-files-fix' for improved stability and latest updates.
2025-10-18 16:51:40 -07:00
Feodor Fitsner 9064573dfa Enable serious_python dependency with custom branch
Uncommented the serious_python dependency and updated its git reference to the 'hidden-files-fix' branch. This change allows the project to use the latest fixes from the serious-python repository.
2025-08-22 12:24:55 -07:00
Feodor Fitsner a688393d85
0.70.0: Fix web app template (#49)
* Fix web template

* Update flutter_bootstrap.js

* Update pubspec.yaml
2025-07-08 13:56:27 -07:00
Feodor Fitsner 9e3d215ca8 Enable debug mode if FLET_PAGE_URL provided 2025-06-10 13:11:03 -07:00
Feodor Fitsner 7174430e6f Support developer mode with custom URL 2025-06-10 11:36:42 -07:00
Feodor Fitsner 45c4485f6b Fix Podfile template 2025-06-07 13:30:02 -07:00
Feodor Fitsner 14abb8dac9 Enable iOS permission macros 2025-06-07 13:27:03 -07:00
Feodor Fitsner e5566a8688
V1 web support (#47)
* canvas kit, pyodide, config

* no-cdn basic support

* Update cookiecutter.json

* debug template

* remove print

* Robot from local

* Added pyodide basic wheels

* noCdn as a variable

* Fix toLowerCase()

* noCdn bool var

* Introduce appPackageUrl
2025-04-29 13:46:14 -07:00
Feodor Fitsner 37782c5a27 Fix extensions 2025-04-04 19:59:29 -07:00
Feodor Fitsner b0d17e8776 Fix extensions 2025-04-04 19:54:13 -07:00
Feodor Fitsner 4ca251aced Switch to extensions 2025-04-04 14:31:43 -07:00
ndonkoHenri f3bb103111 fix typo in AndroidManifest.xml 2025-03-18 18:43:47 +01:00
Feodor Fitsner af83c563d8
Flet 0.27.6 (#45)
* Use serious python from main

* serious_python: 0.9.2, flet 0.27.6
2025-03-11 14:55:59 -07:00
Feodor Fitsner b273f44d6f serious_python: 0.9.1, flet: 0.27.5 2025-03-04 21:39:25 -08:00
Feodor Fitsner e738dd0c87
0.27.4 Android splash and Loading screen (#43)
* Remove splash colors for Android 12

* Set icon_background_color

* Remove icon_background_color

* Splash Screen test

* Fix if

* Splash screen

* get_config_platform()

* Fix package_platform

* Platform-specific splash_screen

* Added trim

* splash_screen_text

* Fix condition

* hide_loading_animation: false

* loading_screen

* Test get_pyproject()

* Declare get_pyproject

* Test my_custom_function

* Test foobar filter

* Fix splash_screen

* Test greeter

* Test context aware function

* Fix get_pyproject

* Remove macros

* Test boot and startup screens

* Fix appBootScreenMessage

* Fix show setting

* Cleanup
2025-03-04 13:52:49 -08:00
Feodor Fitsner f063f13aca
0.27.4 Android ABIs (#44)
* Filter ABIs

* map('string')

* wrap in quotes

* format

* use for
2025-03-03 17:29:52 -08:00
Feodor Fitsner 97910d6a9f flet: 0.27.4 2025-03-03 11:15:26 -08:00
Feodor Fitsner d2198938bc
Added MIMALLOC_LIB (#42) 2025-03-03 09:43:35 -08:00
Feodor Fitsner 18de2d8503
Android minSdkVersion (#41)
* print(flutter.minSdkVersion)

* println

* Test global macros

* Test get_value macro

* Update get_value

* Check cookiecutter.pyproject.tool

* Fix get_value - 1

* Trim white-space

* trim again

* non-existsnt value

* if then

* Check for empty string

* Chec in gradle script

* fix include
2025-02-26 20:49:25 -08:00
Feodor Fitsner af35d4aad3 flet: 0.27.2 2025-02-26 14:05:54 -08:00
Feodor Fitsner 444947a21c macOS fixes for the latest Flutter 3.27 2025-02-26 11:19:58 -08:00
Feodor Fitsner 3ba581d872 Eat another empty line 2025-02-25 10:33:17 -08:00
Feodor Fitsner c13241a5c9 Eat empty line 2025-02-25 10:32:08 -08:00
Feodor Fitsner 2b87de83de Reliably get manifest_application 2025-02-25 10:29:44 -08:00
Feodor Fitsner 7f64dd47f9 Fix cookiecutter.pyproject 2025-02-25 10:25:52 -08:00
Feodor Fitsner 3b88f5e384 Added support for pyproject.tool.flet.android.manifest_application 2025-02-25 10:24:26 -08:00
TheEthicalBoy 504ec17fd6
`flet: 0.27.1` in dependency_overrides 2025-02-23 15:41:39 +01:00