LifeMate — Personal, Family & Learning Companion
chore: persist generated Flutter Android and Web scaffold
github-actions[bot] committed
Oct 5, 2026 at 04:05 UTC
2a0247a465503afa52461ef8adf9bc694414d08d
27 files changed
+362
apps/lifemate/.metadata
new
+33
@@ -0,0 +1,33 @@
1
+# This file tracks properties of this Flutter project.
2
+# Used by Flutter tool to assess capabilities and perform upgrades etc.
3
+#
4
+# This file should be version controlled and should not be manually edited.
5
+
6
+version:
7
+ revision: "5fc346839b5d0eef006ed8404392afb4dfae428d"
8
+ channel: "stable"
9
+
10
+project_type: app
11
+
12
+# Tracks metadata for the flutter migrate command
13
+migration:
14
+ platforms:
15
+ - platform: root
16
+ create_revision: 5fc346839b5d0eef006ed8404392afb4dfae428d
17
+ base_revision: 5fc346839b5d0eef006ed8404392afb4dfae428d
18
+ - platform: android
19
+ create_revision: 5fc346839b5d0eef006ed8404392afb4dfae428d
20
+ base_revision: 5fc346839b5d0eef006ed8404392afb4dfae428d
21
+ - platform: web
22
+ create_revision: 5fc346839b5d0eef006ed8404392afb4dfae428d
23
+ base_revision: 5fc346839b5d0eef006ed8404392afb4dfae428d
24
+
25
+ # User provided section
26
+
27
+ # List of Local paths (relative to this file) that should be
28
+ # ignored by the migrate tool.
29
+ #
30
+ # Files that are not part of the templates will be ignored by default.
31
+ unmanaged_files:
32
+ - 'lib/main.dart'
33
+ - 'ios/Runner.xcodeproj/project.pbxproj'
apps/lifemate/android/.gitignore
new
+14
@@ -0,0 +1,14 @@
1
+gradle-wrapper.jar
2
+/.gradle
3
+/captures/
4
+/gradlew
5
+/gradlew.bat
6
+/local.properties
7
+GeneratedPluginRegistrant.java
8
+.cxx/
9
+
10
+# Remember to never publicly share your keystore.
11
+# See https://flutter.dev/to/reference-keystore
12
+key.properties
13
+**/*.keystore
14
+**/*.jks
apps/lifemate/android/app/build.gradle.kts
new
+49
@@ -0,0 +1,49 @@
1
+plugins {
2
+ id("com.android.application")
3
+ // The Flutter Gradle Plugin must be applied after the Android and Kotlin Gradle plugins.
4
+ id("dev.flutter.flutter-gradle-plugin")
5
+}
6
+
7
+android {
8
+ namespace = "com.example.lifemate"
9
+ compileSdk = flutter.compileSdkVersion
10
+ ndkVersion = flutter.ndkVersion
11
+
12
+ compileOptions {
13
+ sourceCompatibility = JavaVersion.VERSION_17
14
+ targetCompatibility = JavaVersion.VERSION_17
15
+ }
16
+
17
+ defaultConfig {
18
+ // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
19
+ applicationId = "com.example.lifemate"
20
+ // You can update the following values to match your application needs.
21
+ // For more information, see: https://flutter.dev/to/review-gradle-config.
22
+ minSdk = flutter.minSdkVersion
23
+ targetSdk = flutter.targetSdkVersion
24
+ // Uses the version code from pubspec.yaml. When using split APKs, 1000 * ABI_VERSION
25
+ // is added automatically by Flutter. (https://developer.android.com/studio/build/configure-apk-splits#configure-APK-versions)
26
+ // You can force using the value of versionCode by specifying the `-P force-version-code-ignoring-abi=true`
27
+ // flag during build.
28
+ versionCode = flutter.versionCode
29
+ versionName = flutter.versionName
30
+ }
31
+
32
+ buildTypes {
33
+ release {
34
+ // TODO: Add your own signing config for the release build.
35
+ // Signing with the debug keys for now, so `flutter run --release` works.
36
+ signingConfig = signingConfigs.getByName("debug")
37
+ }
38
+ }
39
+}
40
+
41
+kotlin {
42
+ compilerOptions {
43
+ jvmTarget = org.jetbrains.kotlin.gradle.dsl.JvmTarget.JVM_17
44
+ }
45
+}
46
+
47
+flutter {
48
+ source = "../.."
49
+}
apps/lifemate/android/app/src/debug/AndroidManifest.xml
new
+7
@@ -0,0 +1,7 @@
1
+<manifest xmlns:android="http://schemas.android.com/apk/res/android">
2
+ <!-- The INTERNET permission is required for development. Specifically,
3
+ the Flutter tool needs it to communicate with the running application
4
+ to allow setting breakpoints, to provide hot reload, etc.
5
+ -->
6
+ <uses-permission android:name="android.permission.INTERNET"/>
7
+</manifest>
apps/lifemate/android/app/src/main/AndroidManifest.xml
new
+45
@@ -0,0 +1,45 @@
1
+<manifest xmlns:android="http://schemas.android.com/apk/res/android">
2
+ <application
3
+ android:label="lifemate"
4
+ android:name="${applicationName}"
5
+ android:icon="@mipmap/ic_launcher">
6
+ <activity
7
+ android:name=".MainActivity"
8
+ android:exported="true"
9
+ android:launchMode="singleTop"
10
+ android:taskAffinity=""
11
+ android:theme="@style/LaunchTheme"
12
+ android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
13
+ android:hardwareAccelerated="true"
14
+ android:windowSoftInputMode="adjustResize">
15
+ <!-- Specifies an Android theme to apply to this Activity as soon as
16
+ the Android process has started. This theme is visible to the user
17
+ while the Flutter UI initializes. After that, this theme continues
18
+ to determine the Window background behind the Flutter UI. -->
19
+ <meta-data
20
+ android:name="io.flutter.embedding.android.NormalTheme"
21
+ android:resource="@style/NormalTheme"
22
+ />
23
+ <intent-filter>
24
+ <action android:name="android.intent.action.MAIN"/>
25
+ <category android:name="android.intent.category.LAUNCHER"/>
26
+ </intent-filter>
27
+ </activity>
28
+ <!-- Don't delete the meta-data below.
29
+ This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
30
+ <meta-data
31
+ android:name="flutterEmbedding"
32
+ android:value="2" />
33
+ </application>
34
+ <!-- Required to query activities that can process text, see:
35
+ https://developer.android.com/training/package-visibility and
36
+ https://developer.android.com/reference/android/content/Intent#ACTION_PROCESS_TEXT.
37
+
38
+ In particular, this is used by the Flutter engine in io.flutter.plugin.text.ProcessTextPlugin. -->
39
+ <queries>
40
+ <intent>
41
+ <action android:name="android.intent.action.PROCESS_TEXT"/>
42
+ <data android:mimeType="text/plain"/>
43
+ </intent>
44
+ </queries>
45
+</manifest>
apps/lifemate/android/app/src/main/kotlin/com/example/lifemate/MainActivity.kt
new
+5
@@ -0,0 +1,5 @@
1
+package com.example.lifemate
2
+
3
+import io.flutter.embedding.android.FlutterActivity
4
+
5
+class MainActivity : FlutterActivity()
apps/lifemate/android/app/src/main/res/drawable-v21/launch_background.xml
new
+12
@@ -0,0 +1,12 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<!-- Modify this file to customize your launch splash screen -->
3
+<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
4
+ <item android:drawable="?android:colorBackground" />
5
+
6
+ <!-- You can insert your own image assets here -->
7
+ <!-- <item>
8
+ <bitmap
9
+ android:gravity="center"
10
+ android:src="@mipmap/launch_image" />
11
+ </item> -->
12
+</layer-list>
apps/lifemate/android/app/src/main/res/drawable/launch_background.xml
new
+12
@@ -0,0 +1,12 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<!-- Modify this file to customize your launch splash screen -->
3
+<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
4
+ <item android:drawable="@android:color/white" />
5
+
6
+ <!-- You can insert your own image assets here -->
7
+ <!-- <item>
8
+ <bitmap
9
+ android:gravity="center"
10
+ android:src="@mipmap/launch_image" />
11
+ </item> -->
12
+</layer-list>
apps/lifemate/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
Binary files /dev/null and b/apps/lifemate/android/app/src/main/res/mipmap-hdpi/ic_launcher.png differ
apps/lifemate/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
Binary files /dev/null and b/apps/lifemate/android/app/src/main/res/mipmap-mdpi/ic_launcher.png differ
apps/lifemate/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
Binary files /dev/null and b/apps/lifemate/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ
apps/lifemate/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
Binary files /dev/null and b/apps/lifemate/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ
apps/lifemate/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
Binary files /dev/null and b/apps/lifemate/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ
apps/lifemate/android/app/src/main/res/values-night/styles.xml
new
+18
@@ -0,0 +1,18 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<resources>
3
+ <!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is on -->
4
+ <style name="LaunchTheme" parent="@android:style/Theme.Black.NoTitleBar">
5
+ <!-- Show a splash screen on the activity. Automatically removed when
6
+ the Flutter engine draws its first frame -->
7
+ <item name="android:windowBackground">@drawable/launch_background</item>
8
+ </style>
9
+ <!-- Theme applied to the Android Window as soon as the process has started.
10
+ This theme determines the color of the Android Window while your
11
+ Flutter UI initializes, as well as behind your Flutter UI while its
12
+ running.
13
+
14
+ This Theme is only used starting with V2 of Flutter's Android embedding. -->
15
+ <style name="NormalTheme" parent="@android:style/Theme.Black.NoTitleBar">
16
+ <item name="android:windowBackground">?android:colorBackground</item>
17
+ </style>
18
+</resources>
apps/lifemate/android/app/src/main/res/values/styles.xml
new
+18
@@ -0,0 +1,18 @@
1
+<?xml version="1.0" encoding="utf-8"?>
2
+<resources>
3
+ <!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is off -->
4
+ <style name="LaunchTheme" parent="@android:style/Theme.Light.NoTitleBar">
5
+ <!-- Show a splash screen on the activity. Automatically removed when
6
+ the Flutter engine draws its first frame -->
7
+ <item name="android:windowBackground">@drawable/launch_background</item>
8
+ </style>
9
+ <!-- Theme applied to the Android Window as soon as the process has started.
10
+ This theme determines the color of the Android Window while your
11
+ Flutter UI initializes, as well as behind your Flutter UI while its
12
+ running.
13
+
14
+ This Theme is only used starting with V2 of Flutter's Android embedding. -->
15
+ <style name="NormalTheme" parent="@android:style/Theme.Light.NoTitleBar">
16
+ <item name="android:windowBackground">?android:colorBackground</item>
17
+ </style>
18
+</resources>
apps/lifemate/android/app/src/profile/AndroidManifest.xml
new
+7
@@ -0,0 +1,7 @@
1
+<manifest xmlns:android="http://schemas.android.com/apk/res/android">
2
+ <!-- The INTERNET permission is required for development. Specifically,
3
+ the Flutter tool needs it to communicate with the running application
4
+ to allow setting breakpoints, to provide hot reload, etc.
5
+ -->
6
+ <uses-permission android:name="android.permission.INTERNET"/>
7
+</manifest>
apps/lifemate/android/build.gradle.kts
new
+24
@@ -0,0 +1,24 @@
1
+allprojects {
2
+ repositories {
3
+ google()
4
+ mavenCentral()
5
+ }
6
+}
7
+
8
+val newBuildDir: Directory =
9
+ rootProject.layout.buildDirectory
10
+ .dir("../../build")
11
+ .get()
12
+rootProject.layout.buildDirectory.value(newBuildDir)
13
+
14
+subprojects {
15
+ val newSubprojectBuildDir: Directory = newBuildDir.dir(project.name)
16
+ project.layout.buildDirectory.value(newSubprojectBuildDir)
17
+}
18
+subprojects {
19
+ project.evaluationDependsOn(":app")
20
+}
21
+
22
+tasks.register<Delete>("clean") {
23
+ delete(rootProject.layout.buildDirectory)
24
+}
apps/lifemate/android/gradle.properties
new
+6
@@ -0,0 +1,6 @@
1
+org.gradle.jvmargs=-Xmx8G -XX:MaxMetaspaceSize=4G -XX:ReservedCodeCacheSize=512m -XX:+HeapDumpOnOutOfMemoryError
2
+android.useAndroidX=true
3
+# This newDsl flag was added by the Flutter template
4
+android.newDsl=false
5
+# This builtInKotlin flag was added by the Flutter template
6
+android.builtInKotlin=false
apps/lifemate/android/gradle/wrapper/gradle-wrapper.properties
new
+5
@@ -0,0 +1,5 @@
1
+distributionBase=GRADLE_USER_HOME
2
+distributionPath=wrapper/dists
3
+zipStoreBase=GRADLE_USER_HOME
4
+zipStorePath=wrapper/dists
5
+distributionUrl=https\://services.gradle.org/distributions/gradle-9.3.1-all.zip
apps/lifemate/android/settings.gradle.kts
new
+26
@@ -0,0 +1,26 @@
1
+pluginManagement {
2
+ val flutterSdkPath =
3
+ run {
4
+ val properties = java.util.Properties()
5
+ file("local.properties").inputStream().use { properties.load(it) }
6
+ val flutterSdkPath = properties.getProperty("flutter.sdk")
7
+ require(flutterSdkPath != null) { "flutter.sdk not set in local.properties" }
8
+ flutterSdkPath
9
+ }
10
+
11
+ includeBuild("$flutterSdkPath/packages/flutter_tools/gradle")
12
+
13
+ repositories {
14
+ google()
15
+ mavenCentral()
16
+ gradlePluginPortal()
17
+ }
18
+}
19
+
20
+plugins {
21
+ id("dev.flutter.flutter-plugin-loader") version "1.0.0"
22
+ id("com.android.application") version "9.1.0" apply false
23
+ id("org.jetbrains.kotlin.android") version "2.4.0" apply false
24
+}
25
+
26
+include(":app")
apps/lifemate/web/favicon.png
Binary files /dev/null and b/apps/lifemate/web/favicon.png differ
apps/lifemate/web/icons/Icon-192.png
Binary files /dev/null and b/apps/lifemate/web/icons/Icon-192.png differ
apps/lifemate/web/icons/Icon-512.png
Binary files /dev/null and b/apps/lifemate/web/icons/Icon-512.png differ
apps/lifemate/web/icons/Icon-maskable-192.png
Binary files /dev/null and b/apps/lifemate/web/icons/Icon-maskable-192.png differ
apps/lifemate/web/icons/Icon-maskable-512.png
Binary files /dev/null and b/apps/lifemate/web/icons/Icon-maskable-512.png differ
apps/lifemate/web/index.html
new
+46
@@ -0,0 +1,46 @@
1
+<!DOCTYPE html>
2
+<html>
3
+<head>
4
+ <!--
5
+ If you are serving your web app in a path other than the root, change the
6
+ href value below to reflect the base path you are serving from.
7
+
8
+ The path provided below has to start and end with a slash "/" in order for
9
+ it to work correctly.
10
+
11
+ For more details:
12
+ * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base
13
+
14
+ This is a placeholder for base href that will be replaced by the value of
15
+ the `--base-href` argument provided to `flutter build`.
16
+ -->
17
+ <base href="$FLUTTER_BASE_HREF">
18
+
19
+ <meta charset="UTF-8">
20
+ <meta content="IE=Edge" http-equiv="X-UA-Compatible">
21
+ <meta name="description" content="A new Flutter project.">
22
+
23
+ <!-- iOS meta tags & icons -->
24
+ <meta name="mobile-web-app-capable" content="yes">
25
+ <meta name="apple-mobile-web-app-status-bar-style" content="black">
26
+ <meta name="apple-mobile-web-app-title" content="lifemate">
27
+ <link rel="apple-touch-icon" href="icons/Icon-192.png">
28
+
29
+ <!-- Favicon -->
30
+ <link rel="icon" type="image/png" href="favicon.png"/>
31
+
32
+ <title>lifemate</title>
33
+ <link rel="manifest" href="manifest.json">
34
+</head>
35
+<body>
36
+ <!--
37
+ You can customize the "flutter_bootstrap.js" script.
38
+ This is useful to provide a custom configuration to the Flutter loader
39
+ or to give the user feedback during the initialization process.
40
+
41
+ For more details:
42
+ * https://docs.flutter.dev/platform-integration/web/initialization
43
+ -->
44
+ <script src="flutter_bootstrap.js" async></script>
45
+</body>
46
+</html>
apps/lifemate/web/manifest.json
new
+35
@@ -0,0 +1,35 @@
1
+{
2
+ "name": "lifemate",
3
+ "short_name": "lifemate",
4
+ "start_url": ".",
5
+ "display": "standalone",
6
+ "background_color": "#0175C2",
7
+ "theme_color": "#0175C2",
8
+ "description": "A new Flutter project.",
9
+ "orientation": "portrait-primary",
10
+ "prefer_related_applications": false,
11
+ "icons": [
12
+ {
13
+ "src": "icons/Icon-192.png",
14
+ "sizes": "192x192",
15
+ "type": "image/png"
16
+ },
17
+ {
18
+ "src": "icons/Icon-512.png",
19
+ "sizes": "512x512",
20
+ "type": "image/png"
21
+ },
22
+ {
23
+ "src": "icons/Icon-maskable-192.png",
24
+ "sizes": "192x192",
25
+ "type": "image/png",
26
+ "purpose": "maskable"
27
+ },
28
+ {
29
+ "src": "icons/Icon-maskable-512.png",
30
+ "sizes": "512x512",
31
+ "type": "image/png",
32
+ "purpose": "maskable"
33
+ }
34
+ ]
35
+}