Changes to 0.25.0 (#25)

* 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
This commit is contained in:
Feodor Fitsner 2024-11-08 09:14:48 -08:00 committed by GitHub
parent 893e7d9fd5
commit fecd2df8c2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 3 deletions

View File

@ -12,9 +12,9 @@
android:name="${applicationName}" android:name="${applicationName}"
android:enableOnBackInvokedCallback="true" android:enableOnBackInvokedCallback="true"
android:icon="@mipmap/ic_launcher"> android:icon="@mipmap/ic_launcher">
<meta-data <!-- flet: meta-data {% for k, v in cookiecutter.options.android_meta_data.items() %} -->
android:name="io.flutter.embedding.android.EnableImpeller" <meta-data android:name="{{ k }}" android:value="{{ v }}" />
android:value="false" /> <!-- flet: end of meta-data {% endfor %} -->
<activity <activity
android:name=".MainActivity" android:name=".MainActivity"
android:exported="true" android:exported="true"

View File

@ -188,6 +188,7 @@ Future prepareApp() async {
environmentVariables["FLET_APP_TEMP"] = appTempPath; environmentVariables["FLET_APP_TEMP"] = appTempPath;
outLogFilename = path.join(appTempPath, "console.log"); outLogFilename = path.join(appTempPath, "console.log");
environmentVariables["FLET_APP_CONSOLE"] = outLogFilename;
environmentVariables["FLET_PLATFORM"] = environmentVariables["FLET_PLATFORM"] =
defaultTargetPlatform.name.toLowerCase(); defaultTargetPlatform.name.toLowerCase();

View File

@ -53,6 +53,8 @@ flutter_launcher_icons:
android: true android: true
image_path_android: "images/icon.png" image_path_android: "images/icon.png"
adaptive_icon_background: '#ffffff'
adaptive_icon_foreground: images/icon.png
ios: true ios: true
image_path_ios: "images/icon.png" image_path_ios: "images/icon.png"