Commit Graph

168 Commits

Author SHA1 Message Date
Feodor Fitsner 17a397bb9f 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.
2025-12-15 18:16:31 -08:00
Feodor Fitsner d0ef5728ca 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.
2025-12-15 18:04:51 -08:00
Feodor Fitsner 93ab5f8514 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.
2025-12-15 16:32:01 -08:00
Feodor Fitsner 1a0483ff0e Revert "Add random suffix to UDS socket filename"
This reverts commit bcff44e8e1.
2025-12-15 14:09:33 -08:00
Feodor Fitsner bcff44e8e1 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.
2025-12-12 11:54:09 -08:00
Feodor Fitsner 2f0ba42bcb 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.
2025-12-12 11:25:58 -08:00
Feodor Fitsner 4b237db581 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.
2025-12-12 11:15:04 -08:00
Feodor Fitsner 93127c841c 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.
2025-12-11 10:48:26 -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