diff options
author | xAlpharax <42233094+xAlpharax@users.noreply.github.com> | 2023-10-13 16:11:31 +0300 |
---|---|---|
committer | xAlpharax <42233094+xAlpharax@users.noreply.github.com> | 2023-10-13 16:11:31 +0300 |
commit | 07150b61d3593fc9ad764a7884e50a5190178e1b (patch) | |
tree | 7ffea1ef93165cbefe47bbf06181b62b20be155c /android/app/src | |
parent | 6f176a8545278424add9167ad616dc2f2037c2cb (diff) |
Functional Project State
Changes to be committed:
modified: .metadata
modified: android/app/build.gradle
renamed: android/app/src/main/kotlin/com/example/yolo/MainActivity.kt -> android/app/src/main/kotlin/com/example/yoloo/MainActivity.kt
new file: android/app/src/main/res/AndroidManifest.xml
deleted: android/app/src/main/res/drawable-hdpi/ic_launcher_foreground.png
deleted: android/app/src/main/res/drawable-mdpi/ic_launcher_foreground.png
deleted: android/app/src/main/res/drawable-xhdpi/ic_launcher_foreground.png
deleted: android/app/src/main/res/drawable-xxhdpi/ic_launcher_foreground.png
deleted: android/app/src/main/res/drawable-xxxhdpi/ic_launcher_foreground.png
deleted: android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
modified: android/app/src/main/res/mipmap-hdpi/ic_launcher.png
modified: android/app/src/main/res/mipmap-mdpi/ic_launcher.png
modified: android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
modified: android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
modified: android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
deleted: android/app/src/main/res/values/colors.xml
modified: ios/Runner/Info.plist
modified: lib/main.dart
modified: pubspec.lock
modified: pubspec.yaml
Diffstat (limited to 'android/app/src')
14 files changed, 39 insertions, 10 deletions
diff --git a/android/app/src/main/kotlin/com/example/yolo/MainActivity.kt b/android/app/src/main/kotlin/com/example/yoloo/MainActivity.kt index 5cd250f..ccee61d 100644 --- a/android/app/src/main/kotlin/com/example/yolo/MainActivity.kt +++ b/android/app/src/main/kotlin/com/example/yoloo/MainActivity.kt @@ -1,4 +1,4 @@ -package com.example.yolo +package com.example.yoloo import io.flutter.embedding.android.FlutterActivity diff --git a/android/app/src/main/res/AndroidManifest.xml b/android/app/src/main/res/AndroidManifest.xml new file mode 100644 index 0000000..dd90eee --- /dev/null +++ b/android/app/src/main/res/AndroidManifest.xml @@ -0,0 +1,38 @@ +<manifest xmlns:android="http://schemas.android.com/apk/res/android"> + + <uses-permission android:name="android.permission.CAMERA" /> + <uses-feature android:name="android.hardware.camera" /> + <uses-feature android:name="android.hardware.camera.autofocus" /> + + <application + android:label="MegaView" + 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/android/app/src/main/res/drawable-hdpi/ic_launcher_foreground.png b/android/app/src/main/res/drawable-hdpi/ic_launcher_foreground.png Binary files differdeleted file mode 100644 index 12c504e..0000000 --- a/android/app/src/main/res/drawable-hdpi/ic_launcher_foreground.png +++ /dev/null diff --git a/android/app/src/main/res/drawable-mdpi/ic_launcher_foreground.png b/android/app/src/main/res/drawable-mdpi/ic_launcher_foreground.png Binary files differdeleted file mode 100644 index 942dafe..0000000 --- a/android/app/src/main/res/drawable-mdpi/ic_launcher_foreground.png +++ /dev/null diff --git a/android/app/src/main/res/drawable-xhdpi/ic_launcher_foreground.png b/android/app/src/main/res/drawable-xhdpi/ic_launcher_foreground.png Binary files differdeleted file mode 100644 index dc649a0..0000000 --- a/android/app/src/main/res/drawable-xhdpi/ic_launcher_foreground.png +++ /dev/null diff --git a/android/app/src/main/res/drawable-xxhdpi/ic_launcher_foreground.png b/android/app/src/main/res/drawable-xxhdpi/ic_launcher_foreground.png Binary files differdeleted file mode 100644 index e7d5767..0000000 --- a/android/app/src/main/res/drawable-xxhdpi/ic_launcher_foreground.png +++ /dev/null diff --git a/android/app/src/main/res/drawable-xxxhdpi/ic_launcher_foreground.png b/android/app/src/main/res/drawable-xxxhdpi/ic_launcher_foreground.png Binary files differdeleted file mode 100644 index 72bc366..0000000 --- a/android/app/src/main/res/drawable-xxxhdpi/ic_launcher_foreground.png +++ /dev/null diff --git a/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml deleted file mode 100644 index 5f349f7..0000000 --- a/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> - <background android:drawable="@color/ic_launcher_background"/> - <foreground android:drawable="@drawable/ic_launcher_foreground"/> -</adaptive-icon> diff --git a/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/android/app/src/main/res/mipmap-hdpi/ic_launcher.png Binary files differindex 6b3d6d6..db77bb4 100644 --- a/android/app/src/main/res/mipmap-hdpi/ic_launcher.png +++ b/android/app/src/main/res/mipmap-hdpi/ic_launcher.png diff --git a/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/android/app/src/main/res/mipmap-mdpi/ic_launcher.png Binary files differindex 2e7d1b6..17987b7 100644 --- a/android/app/src/main/res/mipmap-mdpi/ic_launcher.png +++ b/android/app/src/main/res/mipmap-mdpi/ic_launcher.png diff --git a/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png Binary files differindex fa971cb..09d4391 100644 --- a/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png +++ b/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png diff --git a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png Binary files differindex b942a71..d5f1c8d 100644 --- a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png +++ b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png diff --git a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png Binary files differindex 7bddebb..4d6372e 100644 --- a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png +++ b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png diff --git a/android/app/src/main/res/values/colors.xml b/android/app/src/main/res/values/colors.xml deleted file mode 100644 index beab31f..0000000 --- a/android/app/src/main/res/values/colors.xml +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<resources> - <color name="ic_launcher_background">#000000</color> -</resources>
\ No newline at end of file |