Commit e714661c authored by Sai Srinivas's avatar Sai Srinivas
Browse files

Initial commit of Gen Service app

parent e276e49f
{
"version": 3,
"artifactType": {
"type": "APK",
"kind": "Directory"
},
"applicationId": "com.example.gen_service",
"variantName": "debug",
"elements": [
{
"type": "SINGLE",
"filters": [],
"attributes": [],
"versionCode": 1,
"versionName": "1.0.0",
"outputFile": "app-debug.apk"
}
],
"elementType": "File",
"minSdkVersionForDexing": 21
}
\ No newline at end of file
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<!-- The INTERNET permission is required for development. Specifically,
the Flutter tool needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
-->
<uses-permission android:name="android.permission.INTERNET"/>
</manifest>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<application
android:label="gen_service"
android:name="${applicationName}"
android:icon="@mipmap/ic_launcher">
<activity
android:name=".MainActivity"
android:exported="true"
android:launchMode="singleTop"
android:taskAffinity=""
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>
<!-- Required to query activities that can process text, see:
https://developer.android.com/training/package-visibility and
https://developer.android.com/reference/android/content/Intent#ACTION_PROCESS_TEXT.
In particular, this is used by the Flutter engine in io.flutter.plugin.text.ProcessTextPlugin. -->
<queries>
<intent>
<action android:name="android.intent.action.PROCESS_TEXT"/>
<data android:mimeType="text/plain"/>
</intent>
</queries>
</manifest>
package com.example.gen_service
import io.flutter.embedding.android.FlutterActivity
class MainActivity : FlutterActivity()
<?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>
<?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>
<?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>
<?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>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<!-- The INTERNET permission is required for development. Specifically,
the Flutter tool needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
-->
<uses-permission android:name="android.permission.INTERNET"/>
</manifest>
import org.gradle.api.tasks.Delete
import org.gradle.api.file.Directory
buildscript {
repositories {
google()
mavenCentral()
}
dependencies {
classpath("com.android.tools.build:gradle:8.7.0")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:2.1.0")
}
}
allprojects {
repositories {
google()
mavenCentral()
}
}
// Re-map the build directory
val newBuildDir: Directory = rootProject.layout.buildDirectory.dir("../../build").get()
rootProject.layout.buildDirectory.set(newBuildDir)
subprojects {
val newSubprojectBuildDir: Directory = newBuildDir.dir(project.name)
project.layout.buildDirectory.set(newSubprojectBuildDir)
project.evaluationDependsOn(":app")
}
// Clean task
tasks.register<Delete>("clean") {
delete(rootProject.layout.buildDirectory)
}
org.gradle.jvmargs=-Xmx8G -XX:MaxMetaspaceSize=4G -XX:ReservedCodeCacheSize=512m -XX:+HeapDumpOnOutOfMemoryError
android.useAndroidX=true
android.enableJetifier=true
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-all.zip
pluginManagement {
val flutterSdkPath = run {
val properties = java.util.Properties()
file("local.properties").inputStream().use { properties.load(it) }
val flutterSdkPath = properties.getProperty("flutter.sdk")
require(flutterSdkPath != null) { "flutter.sdk not set in local.properties" }
flutterSdkPath
}
includeBuild("$flutterSdkPath/packages/flutter_tools/gradle")
repositories {
google()
mavenCentral()
gradlePluginPortal()
}
}
plugins {
id("dev.flutter.flutter-plugin-loader") version "1.0.0"
id("com.android.application") version "8.7.0" apply false
id ("org.jetbrains.kotlin.android") version "2.1.0" apply false
}
include(":app")
<svg width="26" height="26" viewBox="0 0 26 26" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_58_1978)">
<path d="M1.24346 7.77506C1.27149 7.58722 1.30001 7.40676 1.32853 7.23417C1.74944 4.85277 3.88252 2.68724 6.25605 2.20634V1.24159C6.25605 0.556131 6.81169 0.000488281 7.49715 0.000488281C8.1826 0.000488281 8.73825 0.556131 8.73825 1.24159V1.87689C9.51074 1.80461 10.3757 1.74904 11.3463 1.722V1.24159C11.3463 0.556131 11.902 0.000488281 12.5874 0.000488281C13.2729 0.000488281 13.8285 0.556131 13.8285 1.24159V1.722C14.7992 1.74855 15.6641 1.80461 16.4366 1.87689V1.24159C16.4366 0.556131 16.9922 0.000488281 17.6777 0.000488281C18.3632 0.000488281 18.9188 0.556131 18.9188 1.24159V2.20634C21.2923 2.68724 23.4254 4.85277 23.8463 7.23417C23.8748 7.40431 23.9029 7.58231 23.9304 7.76719C14.2091 7.08911 4.65992 7.56067 1.24297 7.77555L1.24346 7.77506ZM24.3238 13.4402C24.3208 16.1736 24.0917 18.1754 23.8468 19.6461C23.4185 22.0698 21.2176 24.2708 18.7939 24.6991C17.3232 24.9439 15.3214 25.1731 12.5879 25.176C9.85445 25.1731 7.85266 24.9439 6.38193 24.6991C3.95824 24.2708 1.75681 22.0698 1.32902 19.6461C1.08414 18.1754 0.855493 16.1736 0.852051 13.4402C0.853526 11.9827 0.919416 10.7337 1.01776 9.66228C4.06986 9.46215 14.0645 8.92274 24.1576 9.65638C24.2559 10.7293 24.3223 11.9802 24.3238 13.4402ZM17.6698 12.6854C17.0537 12.0983 16.0781 12.1224 15.4915 12.739L11.3444 17.0941L9.67399 15.3731C9.08097 14.7619 8.10589 14.7476 7.49567 15.3402C6.88495 15.9327 6.8702 16.9083 7.46273 17.519L10.2498 20.3906C10.5399 20.6896 10.9387 20.8582 11.3557 20.8582H11.3626C11.782 20.8563 12.1822 20.6832 12.4709 20.3798L17.7234 14.8642C18.3105 14.2476 18.2865 13.272 17.6698 12.6859V12.6854Z" fill="url(#paint0_linear_58_1978)"/>
<path d="M1.24346 7.77506C1.27149 7.58722 1.30001 7.40676 1.32853 7.23417C1.74944 4.85277 3.88252 2.68724 6.25605 2.20634V1.24159C6.25605 0.556131 6.81169 0.000488281 7.49715 0.000488281C8.1826 0.000488281 8.73825 0.556131 8.73825 1.24159V1.87689C9.51074 1.80461 10.3757 1.74904 11.3463 1.722V1.24159C11.3463 0.556131 11.902 0.000488281 12.5874 0.000488281C13.2729 0.000488281 13.8285 0.556131 13.8285 1.24159V1.722C14.7992 1.74855 15.6641 1.80461 16.4366 1.87689V1.24159C16.4366 0.556131 16.9922 0.000488281 17.6777 0.000488281C18.3632 0.000488281 18.9188 0.556131 18.9188 1.24159V2.20634C21.2923 2.68724 23.4254 4.85277 23.8463 7.23417C23.8748 7.40431 23.9029 7.58231 23.9304 7.76719C14.2091 7.08911 4.65992 7.56067 1.24297 7.77555L1.24346 7.77506ZM24.3238 13.4402C24.3208 16.1736 24.0917 18.1754 23.8468 19.6461C23.4185 22.0698 21.2176 24.2708 18.7939 24.6991C17.3232 24.9439 15.3214 25.1731 12.5879 25.176C9.85445 25.1731 7.85266 24.9439 6.38193 24.6991C3.95824 24.2708 1.75681 22.0698 1.32902 19.6461C1.08414 18.1754 0.855493 16.1736 0.852051 13.4402C0.853526 11.9827 0.919416 10.7337 1.01776 9.66228C4.06986 9.46215 14.0645 8.92274 24.1576 9.65638C24.2559 10.7293 24.3223 11.9802 24.3238 13.4402ZM17.6698 12.6854C17.0537 12.0983 16.0781 12.1224 15.4915 12.739L11.3444 17.0941L9.67399 15.3731C9.08097 14.7619 8.10589 14.7476 7.49567 15.3402C6.88495 15.9327 6.8702 16.9083 7.46273 17.519L10.2498 20.3906C10.5399 20.6896 10.9387 20.8582 11.3557 20.8582H11.3626C11.782 20.8563 12.1822 20.6832 12.4709 20.3798L17.7234 14.8642C18.3105 14.2476 18.2865 13.272 17.6698 12.6859V12.6854Z" fill="url(#paint1_linear_58_1978)"/>
</g>
<defs>
<linearGradient id="paint0_linear_58_1978" x1="0.852051" y1="12.588" x2="24.3238" y2="12.588" gradientUnits="userSpaceOnUse">
<stop stop-color="#0CAA0C"/>
<stop offset="0.6" stop-color="#4BD14B"/>
<stop offset="1" stop-color="#60E260"/>
</linearGradient>
<linearGradient id="paint1_linear_58_1978" x1="0.851566" y1="12.588" x2="24.3238" y2="12.588" gradientUnits="userSpaceOnUse">
<stop stop-color="#0080DE"/>
<stop offset="0.6" stop-color="#49BCFF"/>
<stop offset="1" stop-color="#61CAFF"/>
</linearGradient>
<clipPath id="clip0_58_1978">
<rect width="25.176" height="25.176" fill="white"/>
</clipPath>
</defs>
</svg>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment