From 7f5e8a0fd08bbf14dfca6eef67cc32abf79d2aa8 Mon Sep 17 00:00:00 2001 From: mavlonerkinboev Date: Sun, 1 Aug 2021 19:29:14 +0500 Subject: released --- android/.gitignore | 11 +++++ android/app/build.gradle | 50 +++++++++++++++++++++ android/app/src/debug/AndroidManifest.xml | 7 +++ android/app/src/main/AndroidManifest.xml | 41 +++++++++++++++++ .../java/com/mavlondev/recipes/MainActivity.java | 6 +++ .../main/res/drawable-v21/launch_background.xml | 12 +++++ .../src/main/res/drawable/launch_background.xml | 12 +++++ .../app/src/main/res/mipmap-hdpi/ic_launcher.png | Bin 0 -> 12117 bytes .../app/src/main/res/mipmap-mdpi/ic_launcher.png | Bin 0 -> 5721 bytes .../app/src/main/res/mipmap-xhdpi/ic_launcher.png | Bin 0 -> 20956 bytes .../app/src/main/res/mipmap-xxhdpi/ic_launcher.png | Bin 0 -> 45602 bytes .../src/main/res/mipmap-xxxhdpi/ic_launcher.png | Bin 0 -> 78159 bytes android/app/src/main/res/values-night/styles.xml | 18 ++++++++ android/app/src/main/res/values/styles.xml | 18 ++++++++ android/app/src/profile/AndroidManifest.xml | 7 +++ android/build.gradle | 29 ++++++++++++ android/gradle.properties | 3 ++ android/gradle/wrapper/gradle-wrapper.properties | 6 +++ android/settings.gradle | 11 +++++ 19 files changed, 231 insertions(+) create mode 100755 android/.gitignore create mode 100755 android/app/build.gradle create mode 100755 android/app/src/debug/AndroidManifest.xml create mode 100755 android/app/src/main/AndroidManifest.xml create mode 100755 android/app/src/main/java/com/mavlondev/recipes/MainActivity.java create mode 100755 android/app/src/main/res/drawable-v21/launch_background.xml create mode 100755 android/app/src/main/res/drawable/launch_background.xml create mode 100755 android/app/src/main/res/mipmap-hdpi/ic_launcher.png create mode 100755 android/app/src/main/res/mipmap-mdpi/ic_launcher.png create mode 100755 android/app/src/main/res/mipmap-xhdpi/ic_launcher.png create mode 100755 android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png create mode 100755 android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png create mode 100755 android/app/src/main/res/values-night/styles.xml create mode 100755 android/app/src/main/res/values/styles.xml create mode 100755 android/app/src/profile/AndroidManifest.xml create mode 100755 android/build.gradle create mode 100755 android/gradle.properties create mode 100755 android/gradle/wrapper/gradle-wrapper.properties create mode 100755 android/settings.gradle (limited to 'android') diff --git a/android/.gitignore b/android/.gitignore new file mode 100755 index 0000000..0a741cb --- /dev/null +++ b/android/.gitignore @@ -0,0 +1,11 @@ +gradle-wrapper.jar +/.gradle +/captures/ +/gradlew +/gradlew.bat +/local.properties +GeneratedPluginRegistrant.java + +# Remember to never publicly share your keystore. +# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app +key.properties diff --git a/android/app/build.gradle b/android/app/build.gradle new file mode 100755 index 0000000..5dcc607 --- /dev/null +++ b/android/app/build.gradle @@ -0,0 +1,50 @@ +def localProperties = new Properties() +def localPropertiesFile = rootProject.file('local.properties') +if (localPropertiesFile.exists()) { + localPropertiesFile.withReader('UTF-8') { reader -> + localProperties.load(reader) + } +} + +def flutterRoot = localProperties.getProperty('flutter.sdk') +if (flutterRoot == null) { + throw new GradleException("Flutter SDK not found. Define location with flutter.sdk in the local.properties file.") +} + +def flutterVersionCode = localProperties.getProperty('flutter.versionCode') +if (flutterVersionCode == null) { + flutterVersionCode = '1' +} + +def flutterVersionName = localProperties.getProperty('flutter.versionName') +if (flutterVersionName == null) { + flutterVersionName = '1.0' +} + +apply plugin: 'com.android.application' +apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" + +android { + compileSdkVersion 30 + + defaultConfig { + // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). + applicationId "com.mavlondev.recepts" + minSdkVersion 16 + targetSdkVersion 30 + versionCode flutterVersionCode.toInteger() + versionName flutterVersionName + } + + buildTypes { + release { + // TODO: Add your own signing config for the release build. + // Signing with the debug keys for now, so `flutter run --release` works. + signingConfig signingConfigs.debug + } + } +} + +flutter { + source '../..' +} diff --git a/android/app/src/debug/AndroidManifest.xml b/android/app/src/debug/AndroidManifest.xml new file mode 100755 index 0000000..77ed35c --- /dev/null +++ b/android/app/src/debug/AndroidManifest.xml @@ -0,0 +1,7 @@ + + + + diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml new file mode 100755 index 0000000..f326401 --- /dev/null +++ b/android/app/src/main/AndroidManifest.xml @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + diff --git a/android/app/src/main/java/com/mavlondev/recipes/MainActivity.java b/android/app/src/main/java/com/mavlondev/recipes/MainActivity.java new file mode 100755 index 0000000..7eca14a --- /dev/null +++ b/android/app/src/main/java/com/mavlondev/recipes/MainActivity.java @@ -0,0 +1,6 @@ +package com.mavlondev.recipes; + +import io.flutter.embedding.android.FlutterActivity; + +public class MainActivity extends FlutterActivity { +} diff --git a/android/app/src/main/res/drawable-v21/launch_background.xml b/android/app/src/main/res/drawable-v21/launch_background.xml new file mode 100755 index 0000000..f74085f --- /dev/null +++ b/android/app/src/main/res/drawable-v21/launch_background.xml @@ -0,0 +1,12 @@ + + + + + + + + diff --git a/android/app/src/main/res/drawable/launch_background.xml b/android/app/src/main/res/drawable/launch_background.xml new file mode 100755 index 0000000..304732f --- /dev/null +++ b/android/app/src/main/res/drawable/launch_background.xml @@ -0,0 +1,12 @@ + + + + + + + + diff --git a/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/android/app/src/main/res/mipmap-hdpi/ic_launcher.png new file mode 100755 index 0000000..e9997a0 Binary files /dev/null and b/android/app/src/main/res/mipmap-hdpi/ic_launcher.png differ diff --git a/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/android/app/src/main/res/mipmap-mdpi/ic_launcher.png new file mode 100755 index 0000000..f19d440 Binary files /dev/null and b/android/app/src/main/res/mipmap-mdpi/ic_launcher.png differ diff --git a/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png new file mode 100755 index 0000000..a90cb5d Binary files /dev/null and b/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png new file mode 100755 index 0000000..100996d Binary files /dev/null and b/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100755 index 0000000..6b6a257 Binary files /dev/null and b/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/android/app/src/main/res/values-night/styles.xml b/android/app/src/main/res/values-night/styles.xml new file mode 100755 index 0000000..449a9f9 --- /dev/null +++ b/android/app/src/main/res/values-night/styles.xml @@ -0,0 +1,18 @@ + + + + + + + diff --git a/android/app/src/main/res/values/styles.xml b/android/app/src/main/res/values/styles.xml new file mode 100755 index 0000000..d74aa35 --- /dev/null +++ b/android/app/src/main/res/values/styles.xml @@ -0,0 +1,18 @@ + + + + + + + diff --git a/android/app/src/profile/AndroidManifest.xml b/android/app/src/profile/AndroidManifest.xml new file mode 100755 index 0000000..77ed35c --- /dev/null +++ b/android/app/src/profile/AndroidManifest.xml @@ -0,0 +1,7 @@ + + + + diff --git a/android/build.gradle b/android/build.gradle new file mode 100755 index 0000000..c9e3db0 --- /dev/null +++ b/android/build.gradle @@ -0,0 +1,29 @@ +buildscript { + repositories { + google() + jcenter() + } + + dependencies { + classpath 'com.android.tools.build:gradle:4.1.0' + } +} + +allprojects { + repositories { + google() + jcenter() + } +} + +rootProject.buildDir = '../build' +subprojects { + project.buildDir = "${rootProject.buildDir}/${project.name}" +} +subprojects { + project.evaluationDependsOn(':app') +} + +task clean(type: Delete) { + delete rootProject.buildDir +} diff --git a/android/gradle.properties b/android/gradle.properties new file mode 100755 index 0000000..94adc3a --- /dev/null +++ b/android/gradle.properties @@ -0,0 +1,3 @@ +org.gradle.jvmargs=-Xmx1536M +android.useAndroidX=true +android.enableJetifier=true diff --git a/android/gradle/wrapper/gradle-wrapper.properties b/android/gradle/wrapper/gradle-wrapper.properties new file mode 100755 index 0000000..bc6a58a --- /dev/null +++ b/android/gradle/wrapper/gradle-wrapper.properties @@ -0,0 +1,6 @@ +#Fri Jun 23 08:50:38 CEST 2017 +distributionBase=GRADLE_USER_HOME +distributionPath=wrapper/dists +zipStoreBase=GRADLE_USER_HOME +zipStorePath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-6.7-all.zip diff --git a/android/settings.gradle b/android/settings.gradle new file mode 100755 index 0000000..44e62bc --- /dev/null +++ b/android/settings.gradle @@ -0,0 +1,11 @@ +include ':app' + +def localPropertiesFile = new File(rootProject.projectDir, "local.properties") +def properties = new Properties() + +assert localPropertiesFile.exists() +localPropertiesFile.withReader("UTF-8") { reader -> properties.load(reader) } + +def flutterSdkPath = properties.getProperty("flutter.sdk") +assert flutterSdkPath != null, "flutter.sdk not set in local.properties" +apply from: "$flutterSdkPath/packages/flutter_tools/gradle/app_plugin_loader.gradle" -- cgit v1.2.3