diff options
author | xAlpharax <42233094+xAlpharax@users.noreply.github.com> | 2023-11-05 00:36:15 +0200 |
---|---|---|
committer | xAlpharax <42233094+xAlpharax@users.noreply.github.com> | 2023-11-05 00:36:15 +0200 |
commit | efa2fba8e5a567b32c4ed789e5a23c296fac5d55 (patch) | |
tree | 05d247d64c1c3b74defc173d8bbe66a8a4b4363b /client_app_flutter/android/app/src/main | |
parent | 7e134820f68ac3736af13e806f88659748a2dc07 (diff) |
FINALLY back on Linux and FINALLY doing something more interesting.
Changes to be committed:
new file: client_app_flutter/.gitignore
new file: client_app_flutter/.metadata
new file: client_app_flutter/README.md
new file: client_app_flutter/analysis_options.yaml
new file: client_app_flutter/android/.gitignore
new file: client_app_flutter/android/app/build.gradle
new file: client_app_flutter/android/app/src/debug/AndroidManifest.xml
new file: client_app_flutter/android/app/src/main/AndroidManifest.xml
new file: client_app_flutter/android/app/src/main/kotlin/com/example/client_app_flutter/MainActivity.kt
new file: client_app_flutter/android/app/src/main/res/drawable-v21/launch_background.xml
new file: client_app_flutter/android/app/src/main/res/drawable/launch_background.xml
new file: client_app_flutter/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
new file: client_app_flutter/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
new file: client_app_flutter/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
new file: client_app_flutter/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
new file: client_app_flutter/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
new file: client_app_flutter/android/app/src/main/res/values-night/styles.xml
new file: client_app_flutter/android/app/src/main/res/values/styles.xml
new file: client_app_flutter/android/app/src/profile/AndroidManifest.xml
new file: client_app_flutter/android/build.gradle
new file: client_app_flutter/android/gradle.properties
new file: client_app_flutter/android/gradle/wrapper/gradle-wrapper.properties
new file: client_app_flutter/android/settings.gradle
new file: client_app_flutter/ios/.gitignore
new file: client_app_flutter/ios/Flutter/AppFrameworkInfo.plist
new file: client_app_flutter/ios/Flutter/Debug.xcconfig
new file: client_app_flutter/ios/Flutter/Release.xcconfig
new file: client_app_flutter/ios/Runner.xcodeproj/project.pbxproj
new file: client_app_flutter/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata
new file: client_app_flutter/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
new file: client_app_flutter/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
new file: client_app_flutter/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme
new file: client_app_flutter/ios/Runner.xcworkspace/contents.xcworkspacedata
new file: client_app_flutter/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist
new file: client_app_flutter/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings
new file: client_app_flutter/ios/Runner/AppDelegate.swift
new file: client_app_flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json
new file: client_app_flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png
new file: client_app_flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png
new file: client_app_flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png
new file: client_app_flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png
new file: client_app_flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png
new file: client_app_flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png
new file: client_app_flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png
new file: client_app_flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png
new file: client_app_flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png
new file: client_app_flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png
new file: client_app_flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png
new file: client_app_flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png
new file: client_app_flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png
new file: client_app_flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png
new file: client_app_flutter/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png
new file: client_app_flutter/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json
new file: client_app_flutter/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png
new file: client_app_flutter/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png
new file: client_app_flutter/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png
new file: client_app_flutter/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md
new file: client_app_flutter/ios/Runner/Base.lproj/LaunchScreen.storyboard
new file: client_app_flutter/ios/Runner/Base.lproj/Main.storyboard
new file: client_app_flutter/ios/Runner/Info.plist
new file: client_app_flutter/ios/Runner/Runner-Bridging-Header.h
new file: client_app_flutter/ios/RunnerTests/RunnerTests.swift
new file: client_app_flutter/lib/main.dart
new file: client_app_flutter/pubspec.lock
new file: client_app_flutter/pubspec.yaml
new file: client_app_flutter/test/widget_test.dart
new file: client_app_flutter/web/favicon.png
new file: client_app_flutter/web/icons/Icon-192.png
new file: client_app_flutter/web/icons/Icon-512.png
new file: client_app_flutter/web/icons/Icon-maskable-192.png
new file: client_app_flutter/web/icons/Icon-maskable-512.png
new file: client_app_flutter/web/index.html
new file: client_app_flutter/web/manifest.json
deleted: lol
Diffstat (limited to 'client_app_flutter/android/app/src/main')
11 files changed, 99 insertions, 0 deletions
diff --git a/client_app_flutter/android/app/src/main/AndroidManifest.xml b/client_app_flutter/android/app/src/main/AndroidManifest.xml new file mode 100644 index 0000000..657f79c --- /dev/null +++ b/client_app_flutter/android/app/src/main/AndroidManifest.xml @@ -0,0 +1,33 @@ +<manifest xmlns:android="http://schemas.android.com/apk/res/android"> + <application + android:label="client_app_flutter" + android:name="${applicationName}" + android:icon="@mipmap/ic_launcher"> + <activity + android:name=".MainActivity" + android:exported="true" + android:launchMode="singleTop" + android:theme="@style/LaunchTheme" + android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" + android:hardwareAccelerated="true" + android:windowSoftInputMode="adjustResize"> + <!-- Specifies an Android theme to apply to this Activity as soon as + the Android process has started. This theme is visible to the user + while the Flutter UI initializes. After that, this theme continues + to determine the Window background behind the Flutter UI. --> + <meta-data + android:name="io.flutter.embedding.android.NormalTheme" + android:resource="@style/NormalTheme" + /> + <intent-filter> + <action android:name="android.intent.action.MAIN"/> + <category android:name="android.intent.category.LAUNCHER"/> + </intent-filter> + </activity> + <!-- Don't delete the meta-data below. + This is used by the Flutter tool to generate GeneratedPluginRegistrant.java --> + <meta-data + android:name="flutterEmbedding" + android:value="2" /> + </application> +</manifest> diff --git a/client_app_flutter/android/app/src/main/kotlin/com/example/client_app_flutter/MainActivity.kt b/client_app_flutter/android/app/src/main/kotlin/com/example/client_app_flutter/MainActivity.kt new file mode 100644 index 0000000..19492f9 --- /dev/null +++ b/client_app_flutter/android/app/src/main/kotlin/com/example/client_app_flutter/MainActivity.kt @@ -0,0 +1,6 @@ +package com.example.client_app_flutter + +import io.flutter.embedding.android.FlutterActivity + +class MainActivity: FlutterActivity() { +} diff --git a/client_app_flutter/android/app/src/main/res/drawable-v21/launch_background.xml b/client_app_flutter/android/app/src/main/res/drawable-v21/launch_background.xml new file mode 100644 index 0000000..f74085f --- /dev/null +++ b/client_app_flutter/android/app/src/main/res/drawable-v21/launch_background.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Modify this file to customize your launch splash screen --> +<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:drawable="?android:colorBackground" /> + + <!-- You can insert your own image assets here --> + <!-- <item> + <bitmap + android:gravity="center" + android:src="@mipmap/launch_image" /> + </item> --> +</layer-list> diff --git a/client_app_flutter/android/app/src/main/res/drawable/launch_background.xml b/client_app_flutter/android/app/src/main/res/drawable/launch_background.xml new file mode 100644 index 0000000..304732f --- /dev/null +++ b/client_app_flutter/android/app/src/main/res/drawable/launch_background.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Modify this file to customize your launch splash screen --> +<layer-list xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:drawable="@android:color/white" /> + + <!-- You can insert your own image assets here --> + <!-- <item> + <bitmap + android:gravity="center" + android:src="@mipmap/launch_image" /> + </item> --> +</layer-list> diff --git a/client_app_flutter/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/client_app_flutter/android/app/src/main/res/mipmap-hdpi/ic_launcher.png Binary files differnew file mode 100644 index 0000000..db77bb4 --- /dev/null +++ b/client_app_flutter/android/app/src/main/res/mipmap-hdpi/ic_launcher.png diff --git a/client_app_flutter/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/client_app_flutter/android/app/src/main/res/mipmap-mdpi/ic_launcher.png Binary files differnew file mode 100644 index 0000000..17987b7 --- /dev/null +++ b/client_app_flutter/android/app/src/main/res/mipmap-mdpi/ic_launcher.png diff --git a/client_app_flutter/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/client_app_flutter/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png Binary files differnew file mode 100644 index 0000000..09d4391 --- /dev/null +++ b/client_app_flutter/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png diff --git a/client_app_flutter/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/client_app_flutter/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png Binary files differnew file mode 100644 index 0000000..d5f1c8d --- /dev/null +++ b/client_app_flutter/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png diff --git a/client_app_flutter/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/client_app_flutter/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png Binary files differnew file mode 100644 index 0000000..4d6372e --- /dev/null +++ b/client_app_flutter/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png diff --git a/client_app_flutter/android/app/src/main/res/values-night/styles.xml b/client_app_flutter/android/app/src/main/res/values-night/styles.xml new file mode 100644 index 0000000..06952be --- /dev/null +++ b/client_app_flutter/android/app/src/main/res/values-night/styles.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is on --> + <style name="LaunchTheme" parent="@android:style/Theme.Black.NoTitleBar"> + <!-- Show a splash screen on the activity. Automatically removed when + the Flutter engine draws its first frame --> + <item name="android:windowBackground">@drawable/launch_background</item> + </style> + <!-- Theme applied to the Android Window as soon as the process has started. + This theme determines the color of the Android Window while your + Flutter UI initializes, as well as behind your Flutter UI while its + running. + + This Theme is only used starting with V2 of Flutter's Android embedding. --> + <style name="NormalTheme" parent="@android:style/Theme.Black.NoTitleBar"> + <item name="android:windowBackground">?android:colorBackground</item> + </style> +</resources> diff --git a/client_app_flutter/android/app/src/main/res/values/styles.xml b/client_app_flutter/android/app/src/main/res/values/styles.xml new file mode 100644 index 0000000..cb1ef88 --- /dev/null +++ b/client_app_flutter/android/app/src/main/res/values/styles.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is off --> + <style name="LaunchTheme" parent="@android:style/Theme.Light.NoTitleBar"> + <!-- Show a splash screen on the activity. Automatically removed when + the Flutter engine draws its first frame --> + <item name="android:windowBackground">@drawable/launch_background</item> + </style> + <!-- Theme applied to the Android Window as soon as the process has started. + This theme determines the color of the Android Window while your + Flutter UI initializes, as well as behind your Flutter UI while its + running. + + This Theme is only used starting with V2 of Flutter's Android embedding. --> + <style name="NormalTheme" parent="@android:style/Theme.Light.NoTitleBar"> + <item name="android:windowBackground">?android:colorBackground</item> + </style> +</resources> |