flet-build-template/{{cookiecutter.out_dir}}
Feodor Fitsner f97e3ac64b
Rive hacks for iOS and macOS (#68) (#69)
* Update flet dependency override to version 0.80.2

Changed the flet dependency override from a git reference to a specific version (0.80.2) in pubspec.yaml. This simplifies dependency management and ensures compatibility with the latest release.

* Add Rive Native setup build phase for macOS

Introduces a conditional shell script build phase to run 'rive_native:setup' during the build process if 'flet_rive' is present in Flutter dependencies. This ensures proper setup of Rive Native for macOS builds.

* Update rive_native setup script to run from project root

Modified the shell script in the Xcode project to change directory to the project root before running the rive_native setup. This ensures the setup script executes in the correct context for macOS builds.

* Fix rive_native setup script path in macOS Podfile

Ensures the rive_native setup script runs from the project root by setting PROJECT_ROOT and changing directory, allowing pubspec.yaml to be found in CI environments.

* Update flet dependency to use custom git ref

Switched flet dependency from a fixed version to a git reference pointing to the 'rive-0-14-0' branch. This allows using the latest changes from that branch instead of the published version.

* Update flet dependency to use main branch

Changed the flet dependency override from the 'rive-0-14-0' branch to 'main' to ensure the latest updates from the main branch are used.

* Fix rive_native setup script path in Podfile

Ensures the rive_native setup script runs from the project root by updating its shell script phase in the Podfile. This change helps CI environments locate pubspec.yaml correctly.
2026-01-22 12:30:34 -08:00
..
android Migrate Android build scripts to Kotlin DSL (#58) 2025-11-27 17:12:15 -08:00
images Initial check-in 2023-12-27 16:06:54 -08:00
ios Rive hacks for iOS and macOS (#68) (#69) 2026-01-22 12:30:34 -08:00
lib Fix iOS routing on a cold start (#62) 2025-12-22 21:28:01 -08:00
linux Added MIMALLOC_LIB (#42) 2025-03-03 09:43:35 -08:00
macos Rive hacks for iOS and macOS (#68) (#69) 2026-01-22 12:30:34 -08:00
web Update asset and entrypoint base URLs in index.html (#65) 2026-01-12 16:13:38 -08:00
windows Update Windows build and plugin registration (#66) 2026-01-12 16:45:42 -08:00
.gitignore Flet 0.23.1 - disable Impeller, enable legacy packaging, serious_python 0.7.1 (#14) 2024-06-21 13:07:25 -07:00
.metadata Initial check-in 2023-12-27 16:06:54 -08:00
.vars for 0.27.0 iOS packaging improved (#39) 2025-02-18 15:38:30 -08:00
README.md Initial check-in 2023-12-27 16:06:54 -08:00
analysis_options.yaml Initial check-in 2023-12-27 16:06:54 -08:00
pubspec.yaml Bump flet dependency to version 0.80.3 2026-01-20 19:58:50 -08:00

README.md

{{ cookiecutter.product_name }}

{{ cookiecutter.project_description }}

Template variables

  • {{ cookiecutter.project_name }} - project name - lowercase, no spaces, i.e. "snake_case" identifier - used as a package name, iOS/macOS/Android bundle name and Windows/Linux executable file name.
  • {{ cookiecutter.project_description }} - project description.
  • {{ cookiecutter.product_name }} - project display name that is shown in window titles and about app dialogs.
  • {{ cookiecutter.org_name }} - org name in reverse domain name notation, e.g. com.mycompany.myproject.
  • {{ cookiecutter.company_name }} - the name of the company.
  • {{ cookiecutter.copyright }} - the name of the company.

Icons

  • iOS - assets/icon_ios.png (or any supported image format). Recommended minimum image size is 1024 px. Image should not be transparent (have alpha channel). Defaults to assets/icon.png with alpha-channel automatically removed.
  • Android - assets/icon_android.png (or any supported image format). Recommended minimum image size is 192 px. Defaults to assets/icon.png.
  • Web - assets/icon_web.png (or any supported image format). Recommended minimum image size is 512 px. Defaults to assets/icon.png. If assets/favicon.png file is provided it will be used unmodified (copied to web/favicon.png).
  • Windows - assets/icon_windows.png (or any supported image format). ICO will be produced of 256 px size. Defaults to assets/icon.png. If assets/icon_windows.ico file is provided it will be just copied to windows/runner/resources/app_icon.ico unmodified.
  • macOS - assets/icon_macos.png (or any supported image format). Recommended minimum image size is 1024 px. Defaults to assets/icon.png.

Splash screens

  • iOS (light) - assets/splash_ios.png (or any supported image format). Defaults to assets/splash.png and then assets/icon.png.
  • iOS (dark) - assets/splash_dark_ios.png (or any supported image format). Defaults to light iOS splash, then to assets/splash_dark.png, then to assets/splash.png and then assets/icon.png.
  • Android (light) - assets/splash_android.png (or any supported image format). Defaults to assets/splash.png and then assets/icon.png.
  • Android (dark) - assets/splash_dark_android.png (or any supported image format). Defaults to light Android splash, then to assets/splash_dark.png, then to assets/splash.png and then assets/icon.png.
  • Web (light) - assets/splash_web.png (or any supported image format). Defaults to assets/splash.png and then assets/icon.png.
  • Web (dark) - assets/splash_dark_web.png (or any supported image format). Defaults to light web splash, then assets/splash_dark.png, then to assets/splash.png and then assets/icon.png.