diff --git a/android/app/build.gradle b/android/app/build.gradle
index f50e669..fead8d1 100644
--- a/android/app/build.gradle
+++ b/android/app/build.gradle
@@ -47,7 +47,7 @@ android {
applicationId "com.sendtrain.sendtrain"
// You can update the following values to match your application needs.
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
- minSdkVersion 17
+ minSdkVersion flutter.minSdkVersion
targetSdkVersion flutter.targetSdkVersion
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
diff --git a/android/build.gradle b/android/build.gradle
index 58a8c74..713d7f6 100644
--- a/android/build.gradle
+++ b/android/build.gradle
@@ -26,6 +26,6 @@ subprojects {
project.evaluationDependsOn(':app')
}
-task clean(type: Delete) {
+tasks.register("clean", Delete) {
delete rootProject.buildDir
}
diff --git a/sendtrain/.gitignore b/sendtrain/.gitignore
new file mode 100644
index 0000000..42afabf
--- /dev/null
+++ b/sendtrain/.gitignore
@@ -0,0 +1 @@
+/build
\ No newline at end of file
diff --git a/sendtrain/build.gradle.kts b/sendtrain/build.gradle.kts
new file mode 100644
index 0000000..0c3f9c2
--- /dev/null
+++ b/sendtrain/build.gradle.kts
@@ -0,0 +1,40 @@
+plugins {
+ id("com.android.application")
+}
+
+android {
+ namespace = "com.sendtrain.sendtrain"
+ compileSdk = 34
+
+ defaultConfig {
+ applicationId = "com.sendtrain.sendtrain"
+ minSdk = 24
+ targetSdk = 34
+ versionCode = 1
+ versionName = "1.0"
+
+ testInstrumentationRunner = "android.support.test.runner.AndroidJUnitRunner"
+ }
+
+ buildTypes {
+ release {
+ isMinifyEnabled = false
+ proguardFiles(
+ getDefaultProguardFile("proguard-android-optimize.txt"),
+ "proguard-rules.pro"
+ )
+ }
+ }
+ compileOptions {
+ sourceCompatibility = JavaVersion.VERSION_1_8
+ targetCompatibility = JavaVersion.VERSION_1_8
+ }
+}
+
+dependencies {
+
+ implementation("com.android.support:appcompat-v7:28.0.0")
+ testImplementation("junit:junit:4.13.2")
+ androidTestImplementation("com.android.support.test:runner:1.0.2")
+ androidTestImplementation("com.android.support.test.espresso:espresso-core:3.0.2")
+}
\ No newline at end of file
diff --git a/sendtrain/proguard-rules.pro b/sendtrain/proguard-rules.pro
new file mode 100644
index 0000000..481bb43
--- /dev/null
+++ b/sendtrain/proguard-rules.pro
@@ -0,0 +1,21 @@
+# Add project specific ProGuard rules here.
+# You can control the set of applied configuration files using the
+# proguardFiles setting in build.gradle.
+#
+# For more details, see
+# http://developer.android.com/guide/developing/tools/proguard.html
+
+# If your project uses WebView with JS, uncomment the following
+# and specify the fully qualified class name to the JavaScript interface
+# class:
+#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
+# public *;
+#}
+
+# Uncomment this to preserve the line number information for
+# debugging stack traces.
+#-keepattributes SourceFile,LineNumberTable
+
+# If you keep the line number information, uncomment this to
+# hide the original source file name.
+#-renamesourcefileattribute SourceFile
\ No newline at end of file
diff --git a/sendtrain/src/androidTest/java/com/sendtrain/sendtrain/ExampleInstrumentedTest.java b/sendtrain/src/androidTest/java/com/sendtrain/sendtrain/ExampleInstrumentedTest.java
new file mode 100644
index 0000000..e87b4d0
--- /dev/null
+++ b/sendtrain/src/androidTest/java/com/sendtrain/sendtrain/ExampleInstrumentedTest.java
@@ -0,0 +1,25 @@
+package com.sendtrain.sendtrain;
+
+import android.content.Context;
+import android.support.test.InstrumentationRegistry;
+import android.support.test.runner.AndroidJUnit4;
+
+import org.junit.Test;
+import org.junit.runner.RunWith;
+
+import static org.junit.Assert.*;
+
+/**
+ * Instrumented test, which will execute on an Android device.
+ *
+ * @see Testing documentation
+ */
+@RunWith(AndroidJUnit4.class)
+public class ExampleInstrumentedTest {
+ @Test
+ public void useAppContext() {
+ // Context of the app under test.
+ Context appContext = InstrumentationRegistry.getInstrumentation().getTargetContext();
+ assertEquals("com.sendtrain.sendtrain", appContext.getPackageName());
+ }
+}
\ No newline at end of file
diff --git a/sendtrain/src/main/AndroidManifest.xml b/sendtrain/src/main/AndroidManifest.xml
new file mode 100644
index 0000000..63a0180
--- /dev/null
+++ b/sendtrain/src/main/AndroidManifest.xml
@@ -0,0 +1,12 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sendtrain/src/main/res/drawable/ic_launcher_background.xml b/sendtrain/src/main/res/drawable/ic_launcher_background.xml
new file mode 100644
index 0000000..07d5da9
--- /dev/null
+++ b/sendtrain/src/main/res/drawable/ic_launcher_background.xml
@@ -0,0 +1,170 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/sendtrain/src/main/res/drawable/ic_launcher_foreground.xml b/sendtrain/src/main/res/drawable/ic_launcher_foreground.xml
new file mode 100644
index 0000000..2b068d1
--- /dev/null
+++ b/sendtrain/src/main/res/drawable/ic_launcher_foreground.xml
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sendtrain/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/sendtrain/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
new file mode 100644
index 0000000..6f3b755
--- /dev/null
+++ b/sendtrain/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sendtrain/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/sendtrain/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
new file mode 100644
index 0000000..6f3b755
--- /dev/null
+++ b/sendtrain/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/sendtrain/src/main/res/mipmap-hdpi/ic_launcher.webp b/sendtrain/src/main/res/mipmap-hdpi/ic_launcher.webp
new file mode 100644
index 0000000..c209e78
Binary files /dev/null and b/sendtrain/src/main/res/mipmap-hdpi/ic_launcher.webp differ
diff --git a/sendtrain/src/main/res/mipmap-hdpi/ic_launcher_round.webp b/sendtrain/src/main/res/mipmap-hdpi/ic_launcher_round.webp
new file mode 100644
index 0000000..b2dfe3d
Binary files /dev/null and b/sendtrain/src/main/res/mipmap-hdpi/ic_launcher_round.webp differ
diff --git a/sendtrain/src/main/res/mipmap-mdpi/ic_launcher.webp b/sendtrain/src/main/res/mipmap-mdpi/ic_launcher.webp
new file mode 100644
index 0000000..4f0f1d6
Binary files /dev/null and b/sendtrain/src/main/res/mipmap-mdpi/ic_launcher.webp differ
diff --git a/sendtrain/src/main/res/mipmap-mdpi/ic_launcher_round.webp b/sendtrain/src/main/res/mipmap-mdpi/ic_launcher_round.webp
new file mode 100644
index 0000000..62b611d
Binary files /dev/null and b/sendtrain/src/main/res/mipmap-mdpi/ic_launcher_round.webp differ
diff --git a/sendtrain/src/main/res/mipmap-xhdpi/ic_launcher.webp b/sendtrain/src/main/res/mipmap-xhdpi/ic_launcher.webp
new file mode 100644
index 0000000..948a307
Binary files /dev/null and b/sendtrain/src/main/res/mipmap-xhdpi/ic_launcher.webp differ
diff --git a/sendtrain/src/main/res/mipmap-xhdpi/ic_launcher_round.webp b/sendtrain/src/main/res/mipmap-xhdpi/ic_launcher_round.webp
new file mode 100644
index 0000000..1b9a695
Binary files /dev/null and b/sendtrain/src/main/res/mipmap-xhdpi/ic_launcher_round.webp differ
diff --git a/sendtrain/src/main/res/mipmap-xxhdpi/ic_launcher.webp b/sendtrain/src/main/res/mipmap-xxhdpi/ic_launcher.webp
new file mode 100644
index 0000000..28d4b77
Binary files /dev/null and b/sendtrain/src/main/res/mipmap-xxhdpi/ic_launcher.webp differ
diff --git a/sendtrain/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp b/sendtrain/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp
new file mode 100644
index 0000000..9287f50
Binary files /dev/null and b/sendtrain/src/main/res/mipmap-xxhdpi/ic_launcher_round.webp differ
diff --git a/sendtrain/src/main/res/mipmap-xxxhdpi/ic_launcher.webp b/sendtrain/src/main/res/mipmap-xxxhdpi/ic_launcher.webp
new file mode 100644
index 0000000..aa7d642
Binary files /dev/null and b/sendtrain/src/main/res/mipmap-xxxhdpi/ic_launcher.webp differ
diff --git a/sendtrain/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp b/sendtrain/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp
new file mode 100644
index 0000000..9126ae3
Binary files /dev/null and b/sendtrain/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp differ
diff --git a/sendtrain/src/main/res/values-night/themes.xml b/sendtrain/src/main/res/values-night/themes.xml
new file mode 100644
index 0000000..929b64e
--- /dev/null
+++ b/sendtrain/src/main/res/values-night/themes.xml
@@ -0,0 +1,10 @@
+
+
+
+
\ No newline at end of file
diff --git a/sendtrain/src/main/res/values/colors.xml b/sendtrain/src/main/res/values/colors.xml
new file mode 100644
index 0000000..f8c6127
--- /dev/null
+++ b/sendtrain/src/main/res/values/colors.xml
@@ -0,0 +1,10 @@
+
+
+ #FFBB86FC
+ #FF6200EE
+ #FF3700B3
+ #FF03DAC5
+ #FF018786
+ #FF000000
+ #FFFFFFFF
+
\ No newline at end of file
diff --git a/sendtrain/src/main/res/values/strings.xml b/sendtrain/src/main/res/values/strings.xml
new file mode 100644
index 0000000..78ffe0c
--- /dev/null
+++ b/sendtrain/src/main/res/values/strings.xml
@@ -0,0 +1,3 @@
+
+ SendTrain
+
\ No newline at end of file
diff --git a/sendtrain/src/main/res/values/themes.xml b/sendtrain/src/main/res/values/themes.xml
new file mode 100644
index 0000000..396fe8f
--- /dev/null
+++ b/sendtrain/src/main/res/values/themes.xml
@@ -0,0 +1,10 @@
+
+
+
+
\ No newline at end of file
diff --git a/sendtrain/src/test/java/com/sendtrain/sendtrain/ExampleUnitTest.java b/sendtrain/src/test/java/com/sendtrain/sendtrain/ExampleUnitTest.java
new file mode 100644
index 0000000..f82bdd4
--- /dev/null
+++ b/sendtrain/src/test/java/com/sendtrain/sendtrain/ExampleUnitTest.java
@@ -0,0 +1,17 @@
+package com.sendtrain.sendtrain;
+
+import org.junit.Test;
+
+import static org.junit.Assert.*;
+
+/**
+ * Example local unit test, which will execute on the development machine (host).
+ *
+ * @see Testing documentation
+ */
+public class ExampleUnitTest {
+ @Test
+ public void addition_isCorrect() {
+ assertEquals(4, 2 + 2);
+ }
+}
\ No newline at end of file