Commit Graph

161 Commits

Author SHA1 Message Date
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
Feodor Fitsner b0327d5b67 Added pyproject var to template 2025-02-25 10:13:52 -08:00
TheEthicalBoy 504ec17fd6
`flet: 0.27.1` in dependency_overrides 2025-02-23 15:41:39 +01:00
Feodor Fitsner f45821c6af
Create proguard-rules.pro (#40) 2025-02-22 16:12:47 -08:00
Feodor Fitsner 070537e4b0 flet: 0.27.0 2025-02-21 18:59:07 -08:00
Feodor Fitsner 9043b531ab Misc template var fixes for 0.27.0 2025-02-21 16:46:00 -08:00
Feodor Fitsner a49c9f3d86 serious_python: 0.9.0 2025-02-19 17:30:49 -08:00
Feodor Fitsner 2043b4a1cb
for 0.27.0 iOS packaging improved (#39)
* Override serious_python

* Fix yaml

* Manual signing and provisioning profile

* Introduce bundle_id and project_name

* Fix dict checks

* exportOptions.plist

* Output all vars

* Move .vars

* Fix expor options template

* Format template

* Pyodide 0.27.2

* Add teamid

* Added "ios_signing_certificate" var

* serious_python:main

* Fake run script to sign iOS bundle frameworks

* Updated sign script

* Explicitly sign .py files

* Remove custom code signing

* Use serious_python:resources branch

* return to main

* resources branch

* Add build_arch for Android

* Rename build_arch to target_arch

* Fix target_arch def value

* Hide target_arch inside options

* serious_python:main

* .plist to support arrays

* Add closing if

* fix template

* Another template fix

* Remove comments

* macOS plist to support arrays
2025-02-18 15:38:30 -08:00
Feodor Fitsner c99bd8f120
0.26.0 fix for flet-ads and others (#37)
* Relax Flet req

* Flet override
2025-01-27 10:24:48 -08:00
Feodor Fitsner 08844c6e1d Use Flet 0.26.0 2025-01-26 13:13:06 -08:00
Feodor Fitsner a80ff08a9b fix _args list 2025-01-21 13:50:29 -08:00
Feodor Fitsner 29c074847e dependency_overrides.flet 2025-01-21 11:07:08 -08:00
Feodor Fitsner 6a773c37f7 Override webview_flutter_android: ^4.0.0 2025-01-16 10:51:45 -08:00
Feodor Fitsner a090ff82dc
Changes to 0.26.0 (#36)
* serious_python 0.8.4

* flet: 0.25.2

* file_picker: ^8.1.5

* file_picker: 8.1.4

* file_picker: 8.1.5

* file_picker: 8.1.4

* Remove file_picker override

* serious_python 0.8.4

* initialize_ctypes and serious_python 0.8.7 (#34)

* serious_python: 0.8.6

* Added initialize_ctypes override

* serious_python: 0.8.7

* Use Flet package from Git/flutter-extensions

* feodor/flutter-extensions

* Remove NDK, update minSdkVersion

* wakelock_plus: ^1.2.10

* Update gradle.properties

* Changes to 0.26.0-dev (#35)

* Added support for developer mode

* Do not run runPythonApp() in developer mode

* Import crtfifi in try..catch

* Flet ref changed to `main`
2025-01-16 10:01:13 -08:00
Feodor Fitsner d4bb8781d9
serious_python 0.8.3 (#33) 2024-12-04 12:41:42 -08:00
Feodor Fitsner 810cedd458 Merge branch '0.25.0' of https://github.com/flet-dev/flet-build-template into 0.25.0 2024-11-29 16:40:36 -08:00
Feodor Fitsner 7f2e57aa9a flet: 0.25.1 2024-11-29 16:40:35 -08:00
Feodor Fitsner 0d7f36b47c
Fix app close for macOS in 0.25.0 (#31)
* Deep linking settings

* Update web template

* Fix template

* Fix web template again

* Bump dev_dependencies

* Add flutter_bootstrap.js

* Use project_name_slug variable

* web mobile-web-app-capable

* externalNativeBuild

* Remove externalNativeBuild

* serious_python: 0.8.2

* Added sys.argv support

* Pass argv

* pwa_background_color and pwa_theme_color options

* Fix pwa_background_color in template

* Fix pwa_background_color again

* Set default pwa_background_color

* pwa white background

* Use pid for sockets

* Move setupDesktop()

* Update MainFlutterWindow.swift

* Rewrite setupDesktop

* Use windowManager.setSkipTaskbar

* Hide Linux window

* Prevent quit on close

* FLET_HIDE_APP_ON_START

* Default adaptive_icon_background, adaptive_icon_foreground

* FLET_APP_CONSOLE variable

* Add support for android meta-data

* Fix backslash in outLogFilename

* Fix rive_common build on Linux

* Enable logging

* Update AppDelegate.swift

* Enable --debug
2024-11-29 14:31:33 -08:00
Feodor Fitsner 8bcd4e1ee7 Flet 0.25.0 2024-11-28 16:38:22 -08:00
Feodor Fitsner cc5df08f38 Rename FLET_APP_DATA to FLET_APP_STORAGE_DATA 2024-11-26 09:52:37 -08:00