diff --git a/README.md b/README.md index 3f5d79e..9c5547f 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,9 @@ The app has several different modes, including simple addition/subtraction train The app will save results of each training so you can track your progress. +Get it on Google Play +You can try the online version out [here.](https://cifruktus.github.io/MathTrainingWebapp/#/) ## How to build @@ -17,4 +19,4 @@ The app will save results of each training so you can track your progress. `flutter pub run flutter_launcher_icons:main` 2. Build an application: -`flutter build apk` \ No newline at end of file +`flutter build apk` diff --git a/android/app/build.gradle b/android/app/build.gradle index cc3c6b1..c0eede7 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -32,7 +32,8 @@ if (keystorePropertiesFile.exists()) { } android { - compileSdkVersion 30 + namespace "org.cifruktus.math_training" + compileSdkVersion 33 compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 @@ -50,14 +51,19 @@ android { defaultConfig { applicationId "org.cifruktus.mathtraining" minSdkVersion 16 - targetSdkVersion 30 + targetSdkVersion 33 + versionCode flutterVersionCode.toInteger() versionName flutterVersionName } def keystoreAvailable = keystoreProperties['storeFile'] - if (!keystoreAvailable) println('\u001b[31mKeystore wasn\'t found, using debug singning config\u001b[0m') + if (keystoreAvailable) { + println('\u001b[32mSigning with provided key\u001b[0m') + } else { + println('\u001B[31mKeystore wasn\'t found, using debug singning config\u001b[0m') + } signingConfigs { release { diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index c3b30b8..61bda48 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -9,7 +9,9 @@ android:theme="@style/LaunchTheme" android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" android:hardwareAccelerated="true" - android:windowSoftInputMode="adjustResize"> + android:windowSoftInputMode="adjustResize" + android:exported="true" + > + + + + + + + + + + + + + + + + Math training + + + + + + + + diff --git a/web/manifest.json b/web/manifest.json new file mode 100644 index 0000000..184586f --- /dev/null +++ b/web/manifest.json @@ -0,0 +1,12 @@ +{ + "name": "math_training", + "short_name": "math_training", + "start_url": ".", + "display": "standalone", + "background_color": "#0175C2", + "theme_color": "#0175C2", + "description": "A new Flutter project.", + "orientation": "portrait-primary", + "prefer_related_applications": false, + "icons": [] +}