Add splash screen

This commit is contained in:
2026-06-17 01:01:09 +07:00
parent 54db47dc45
commit 8f97891843
50 changed files with 279 additions and 183 deletions
+1
View File
@@ -17,3 +17,4 @@ captures
!*.xcworkspace/contents.xcworkspacedata !*.xcworkspace/contents.xcworkspacedata
**/xcshareddata/WorkspaceSettings.xcsettings **/xcshareddata/WorkspaceSettings.xcsettings
node_modules/ node_modules/
release/
+9 -5
View File
@@ -1,5 +1,3 @@
import org.jetbrains.compose.desktop.application.dsl.TargetFormat
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
plugins { plugins {
alias(libs.plugins.kotlinMultiplatform) alias(libs.plugins.kotlinMultiplatform)
@@ -43,6 +41,7 @@ kotlin {
implementation(libs.koin.compose.viewmodel) implementation(libs.koin.compose.viewmodel)
implementation(libs.ktor.client.okhttp) implementation(libs.ktor.client.okhttp)
implementation(libs.sqldelight.android) implementation(libs.sqldelight.android)
implementation(libs.androidx.core.splashscreen)
} }
commonMain.dependencies { commonMain.dependencies {
implementation(libs.compose.runtime) implementation(libs.compose.runtime)
@@ -89,8 +88,8 @@ android {
applicationId = "com.digitoolsolutions.app.torquevaultkmp" applicationId = "com.digitoolsolutions.app.torquevaultkmp"
minSdk = libs.versions.android.minSdk.get().toInt() minSdk = libs.versions.android.minSdk.get().toInt()
targetSdk = libs.versions.android.targetSdk.get().toInt() targetSdk = libs.versions.android.targetSdk.get().toInt()
versionCode = 1 versionCode = 2
versionName = "1.0" versionName = "1.0.1"
} }
packaging { packaging {
resources { resources {
@@ -99,7 +98,12 @@ android {
} }
buildTypes { buildTypes {
getByName("release") { getByName("release") {
isMinifyEnabled = false isMinifyEnabled = true
isShrinkResources = true
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
} }
} }
compileOptions { compileOptions {
@@ -16,7 +16,7 @@
android:label="@string/app_name" android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round" android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true" android:supportsRtl="true"
android:theme="@android:style/Theme.Material.Light.NoActionBar"> android:theme="@style/Theme.TorqueVaultSplashScreen">
<activity <activity
android:exported="true" android:exported="true"
android:name=".MainActivity"> android:name=".MainActivity">
Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

@@ -1,14 +1,32 @@
package com.digitoolsolutions.app.torquevaultkmp package com.digitoolsolutions.app.torquevaultkmp
import android.animation.ValueAnimator
import android.os.Bundle import android.os.Bundle
import androidx.activity.ComponentActivity import androidx.activity.ComponentActivity
import androidx.activity.compose.setContent import androidx.activity.compose.setContent
import androidx.activity.enableEdgeToEdge import androidx.activity.enableEdgeToEdge
import androidx.compose.runtime.Composable import androidx.compose.runtime.Composable
import androidx.compose.ui.tooling.preview.Preview import androidx.compose.ui.tooling.preview.Preview
import androidx.core.animation.doOnEnd
import androidx.core.splashscreen.SplashScreen.Companion.installSplashScreen
class MainActivity : ComponentActivity() { class MainActivity : ComponentActivity() {
override fun onCreate(savedInstanceState: Bundle?) { override fun onCreate(savedInstanceState: Bundle?) {
installSplashScreen().apply {
// setKeepOnScreenCondition { true }
setOnExitAnimationListener { splash ->
val animator = ValueAnimator.ofFloat(1f, 0.25f)
animator.duration = 500
animator.addUpdateListener {
val value = it.animatedValue as Float
splash.iconView.scaleX = value
splash.iconView.scaleY = value
splash.iconView.alpha = value
}
animator.doOnEnd { splash.remove() }
animator.start()
}
}
enableEdgeToEdge() enableEdgeToEdge()
super.onCreate(savedInstanceState) super.onCreate(savedInstanceState)
setContent { setContent {
@@ -0,0 +1,36 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="50.dp" android:viewportHeight="388" android:viewportWidth="388" android:width="50.dp">
<group
android:scaleY="0.6"
android:scaleX="0.6"
android:pivotX="194"
android:pivotY="194"
>
<path android:fillColor="#ED3237" android:pathData="M275,389C221.65,389 168.29,389 114.38,388.67C77.1,351.62 40.38,314.88 3.65,278.16C2.85,277.36 1.89,276.72 1,276C1,222.31 1,168.62 1.33,114.38C38.39,77.11 75.12,40.39 111.84,3.65C112.64,2.85 113.28,1.89 114,1C167.69,1 221.38,1 275.64,1.32C312.36,37.79 348.51,73.94 384.67,110.08C385.72,111.12 386.89,112.03 388,113C388,167.02 388,221.04 387.67,275.62C350.61,312.89 313.88,349.61 277.16,386.35C276.36,387.15 275.72,388.11 275,389M344,208.45C344.33,205.02 345.15,201.57 344.91,198.18C344.13,187.06 344.02,175.74 341.74,164.89C334.21,129.06 315.72,99.52 287.09,76.8C263.34,57.95 235.82,47.62 205.62,45.11C191.3,43.92 176.85,44.83 162.87,48.18C127.82,56.57 98.67,74.39 76.31,103.11C58.31,126.23 47.79,152.37 45.32,181.28C44.15,194.96 45,209.17 47.32,222.73C52.41,252.52 66.34,278.42 87.64,299.75C96.66,308.78 107.41,316.31 118.14,323.37C139.29,337.29 163.16,343.74 188.21,344.75C199.59,345.21 211.17,343.65 222.49,341.89C250.25,337.56 274.19,324.74 295.01,306.31C309.09,293.84 320.1,278.8 328.66,261.92C337.09,245.31 341.92,227.78 344,208.45z" android:strokeColor="#00000000"/>
<!-- <path android:fillColor="#FFFFFF" android:pathData="M113.53,1C113.28,1.89 112.64,2.85 111.84,3.65C75.12,40.39 38.39,77.11 1.33,113.91C1,76.41 1,38.81 1,1C38.35,1 75.71,1 113.53,1z" android:strokeColor="#00000000"/>-->
<!-- <path android:fillColor="#FFFFFF" android:pathData="M1,276.47C1.89,276.72 2.85,277.36 3.65,278.16C40.38,314.88 77.1,351.62 113.91,388.67C76.41,389 38.81,389 1,389C1,351.65 1,314.29 1,276.47z" android:strokeColor="#00000000"/>-->
<!-- <path android:fillColor="#FFFFFF" android:pathData="M275.47,389C275.72,388.11 276.36,387.15 277.16,386.35C313.88,349.61 350.61,312.89 387.67,276.09C388,313.59 388,351.19 388,389C350.65,389 313.29,389 275.47,389z" android:strokeColor="#00000000"/>-->
<!-- <path android:fillColor="#FFFFFF" android:pathData="M388,112.53C386.89,112.03 385.72,111.12 384.67,110.08C348.51,73.94 312.36,37.79 276.11,1.32C313.26,1 350.52,1 388,1C388,38.02 388,75.04 388,112.53z" android:strokeColor="#00000000"/>-->
<path android:fillColor="#FFFFFF" android:pathData="M344,208.92C341.92,227.78 337.09,245.31 328.66,261.92C320.1,278.8 309.09,293.84 295.01,306.31C274.19,324.74 250.25,337.56 222.49,341.89C211.17,343.65 199.59,345.21 188.21,344.75C163.16,343.74 139.29,337.29 118.14,323.37C107.41,316.31 96.66,308.78 87.64,299.75C66.34,278.42 52.41,252.52 47.32,222.73C45,209.17 44.15,194.96 45.32,181.28C47.79,152.37 58.31,126.23 76.31,103.11C98.67,74.39 127.82,56.57 162.87,48.18C176.85,44.83 191.3,43.92 205.62,45.11C235.82,47.62 263.34,57.95 287.09,76.8C315.72,99.52 334.21,129.06 341.74,164.89C344.02,175.74 344.13,187.06 344.91,198.18C345.15,201.57 344.33,205.02 344,208.92M105.01,285.52C108.81,289.19 113.32,291.01 118.62,291.01C169.59,290.99 220.56,290.93 271.53,291.06C282.01,291.09 290.81,281.6 290.87,272.02C291.15,220.72 291.01,169.41 290.99,118.11C290.99,107.31 279.89,98.75 271.25,98.81C220.79,99.19 170.31,99.34 119.85,98.75C107.95,98.62 97.95,108.79 97.97,120.96C98.05,170.26 97.96,219.57 98.05,268.87C98.06,274.97 99.85,280.62 105.01,285.52z" android:strokeColor="#00000000"/>
<path android:fillColor="#201E1E" android:pathData="M104.75,285.26C99.85,280.62 98.06,274.97 98.05,268.87C97.96,219.57 98.05,170.26 97.97,120.96C97.95,108.79 107.95,98.62 119.85,98.75C170.31,99.34 220.79,99.19 271.25,98.81C279.89,98.75 290.99,107.31 290.99,118.11C291.01,169.41 291.15,220.72 290.87,272.02C290.81,281.6 282.01,291.09 271.53,291.06C220.56,290.93 169.59,290.99 118.62,291.01C113.32,291.01 108.81,289.19 104.75,285.26M190.5,232C168.75,232 147.01,232 125.08,232C134.6,253.76 161.48,272.12 187.57,274.09C228.75,277.19 255.88,250.65 264.44,232C240.1,232 215.8,232 190.5,232M177.5,156.94C206.24,156.94 234.99,156.94 263.93,156.94C253.43,134.75 226.91,115.36 194.73,115.14C163.76,114.92 135.3,134.93 125.55,156.94C142.57,156.94 159.54,156.94 177.5,156.94M122,182.6C122,193.01 122,203.41 122,214C134.24,214 145.86,214.25 157.47,213.92C166.7,213.66 169.53,211.57 170.7,203.16C171.45,197.76 170.26,192.1 170.05,186.56C169.83,180.69 166.09,178.21 161.01,178.09C148.18,177.81 135.35,178 122,178C122,178.75 122,180.19 122,182.6M223.92,210.36C226.46,211.57 228.97,213.71 231.57,213.83C240.54,214.27 249.57,214.31 258.55,213.9C265.39,213.59 267.44,209.79 267.02,204.96C266.9,203.63 266.87,202.28 267.02,200.96C267.67,195.23 263.87,192.73 258.86,192.12C252,191.3 245.03,191.04 238.11,191.1C233.46,191.14 232.11,189.52 233.45,185.01C240.12,185.01 247.05,183.78 253.21,185.43C257.41,186.56 261.17,188.71 265.71,187.63C266.14,181.72 264.51,178.67 258.85,178.13C249.68,177.26 240.39,176.89 231.19,177.23C227.23,177.38 223.13,179.39 222.96,184.9C222.63,195.2 223.05,197.09 230.12,198.37C237.35,199.68 244.84,199.56 252.22,199.98C254.55,200.11 257,199.58 257.05,203.26C257.1,207.03 254.53,206.92 252.09,206.98C247.92,207.07 243.74,206.81 239.59,207.06C235.57,207.3 232.58,206.26 231.68,202.17C228.3,202.17 225.33,202.17 221.69,202.17C222.27,204.92 222.79,207.37 223.92,210.36M187.51,177C183.08,177 178.64,177 174.29,177C174.29,180.31 174.29,183.04 174.29,186.18C179.98,186.18 185.39,186.18 191.18,186.18C191.18,195.66 191.18,204.72 191.18,213.7C194.99,213.7 198.39,213.7 202.18,213.7C202.18,204.34 202.18,195.28 202.18,185.82C207.99,185.82 213.4,185.82 218.7,185.82C218.7,182.67 218.7,179.94 218.7,177C208.43,177 198.47,177 187.51,177z" android:strokeColor="#00000000"/>
<path android:fillColor="#FFFFFF" android:pathData="M191,232C215.8,232 240.1,232 264.44,232C255.88,250.65 228.75,277.19 187.57,274.09C161.48,272.12 134.6,253.76 125.08,232C147.01,232 168.75,232 191,232z" android:strokeColor="#00000000"/>
<path android:fillColor="#FFFFFF" android:pathData="M177,156.94C159.54,156.94 142.57,156.94 125.55,156.94C135.3,134.93 163.76,114.92 194.73,115.14C226.91,115.36 253.43,134.75 263.93,156.94C234.99,156.94 206.24,156.94 177,156.94z" android:strokeColor="#00000000"/>
<path android:fillColor="#FFFFFF" android:pathData="M122,182.12C122,180.19 122,178.75 122,178C135.35,178 148.18,177.81 161.01,178.09C166.09,178.21 169.83,180.69 170.05,186.56C170.26,192.1 171.45,197.76 170.7,203.16C169.53,211.57 166.7,213.66 157.47,213.92C145.86,214.25 134.24,214 122,214C122,203.41 122,193.01 122,182.12M133,190.62C133,195.37 133,200.12 133,205C140.32,205 147,204.61 153.61,205.13C158.53,205.51 160.28,202.74 160.81,199.07C161.24,196.12 160.38,192.98 160.02,189.94C159.67,186.87 157.77,185.91 154.85,185.97C148.69,186.08 142.53,186.17 136.38,185.93C133.32,185.8 132.61,187.04 133,190.62z" android:strokeColor="#00000000"/>
<path android:fillColor="#FFFFFF" android:pathData="M223.61,210.09C222.79,207.37 222.27,204.92 221.69,202.17C225.33,202.17 228.3,202.17 231.68,202.17C232.58,206.26 235.57,207.3 239.59,207.06C243.74,206.81 247.92,207.07 252.09,206.98C254.53,206.92 257.1,207.03 257.05,203.26C257,199.58 254.55,200.11 252.22,199.98C244.84,199.56 237.35,199.68 230.12,198.37C223.05,197.09 222.63,195.2 222.96,184.9C223.13,179.39 227.23,177.38 231.19,177.23C240.39,176.89 249.68,177.26 258.85,178.13C264.51,178.67 266.14,181.72 265.71,187.63C261.17,188.71 257.41,186.56 253.21,185.43C247.05,183.78 240.12,185.01 233.45,185.01C232.11,189.52 233.46,191.14 238.11,191.1C245.03,191.04 252,191.3 258.86,192.12C263.87,192.73 267.67,195.23 267.02,200.96C266.87,202.28 266.9,203.63 267.02,204.96C267.44,209.79 265.39,213.59 258.55,213.9C249.57,214.31 240.54,214.27 231.57,213.83C228.97,213.71 226.46,211.57 223.61,210.09z" android:strokeColor="#00000000"/>
<path android:fillColor="#FFFFFF" android:pathData="M188.01,177C198.47,177 208.43,177 218.7,177C218.7,179.94 218.7,182.67 218.7,185.82C213.4,185.82 207.99,185.82 202.18,185.82C202.18,195.28 202.18,204.34 202.18,213.7C198.39,213.7 194.99,213.7 191.18,213.7C191.18,204.72 191.18,195.66 191.18,186.18C185.39,186.18 179.98,186.18 174.29,186.18C174.29,183.04 174.29,180.31 174.29,177C178.64,177 183.08,177 188.01,177z" android:strokeColor="#00000000"/>
<path android:fillColor="#201E1E" android:pathData="M133,190.14C132.61,187.04 133.32,185.8 136.38,185.93C142.53,186.17 148.69,186.08 154.85,185.97C157.77,185.91 159.67,186.87 160.02,189.94C160.38,192.98 161.24,196.12 160.81,199.07C160.28,202.74 158.53,205.51 153.61,205.13C147,204.61 140.32,205 133,205C133,200.12 133,195.37 133,190.14z" android:strokeColor="#00000000"/>
</group>
</vector>
@@ -1,170 +1,74 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android" <vector
android:width="108dp"
android:height="108dp" android:height="108dp"
android:width="108dp"
android:viewportHeight="108"
android:viewportWidth="108" android:viewportWidth="108"
android:viewportHeight="108"> xmlns:android="http://schemas.android.com/apk/res/android">
<path <path android:fillColor="#3DDC84"
android:fillColor="#3DDC84"
android:pathData="M0,0h108v108h-108z"/> android:pathData="M0,0h108v108h-108z"/>
<path <path android:fillColor="#00000000" android:pathData="M9,0L9,108"
android:fillColor="#00000000" android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
android:pathData="M9,0L9,108" <path android:fillColor="#00000000" android:pathData="M19,0L19,108"
android:strokeWidth="0.8" android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
android:strokeColor="#33FFFFFF" /> <path android:fillColor="#00000000" android:pathData="M29,0L29,108"
<path android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
android:fillColor="#00000000" <path android:fillColor="#00000000" android:pathData="M39,0L39,108"
android:pathData="M19,0L19,108" android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
android:strokeWidth="0.8" <path android:fillColor="#00000000" android:pathData="M49,0L49,108"
android:strokeColor="#33FFFFFF" /> android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path <path android:fillColor="#00000000" android:pathData="M59,0L59,108"
android:fillColor="#00000000" android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
android:pathData="M29,0L29,108" <path android:fillColor="#00000000" android:pathData="M69,0L69,108"
android:strokeWidth="0.8" android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
android:strokeColor="#33FFFFFF" /> <path android:fillColor="#00000000" android:pathData="M79,0L79,108"
<path android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
android:fillColor="#00000000" <path android:fillColor="#00000000" android:pathData="M89,0L89,108"
android:pathData="M39,0L39,108" android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
android:strokeWidth="0.8" <path android:fillColor="#00000000" android:pathData="M99,0L99,108"
android:strokeColor="#33FFFFFF" /> android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path <path android:fillColor="#00000000" android:pathData="M0,9L108,9"
android:fillColor="#00000000" android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
android:pathData="M49,0L49,108" <path android:fillColor="#00000000" android:pathData="M0,19L108,19"
android:strokeWidth="0.8" android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
android:strokeColor="#33FFFFFF" /> <path android:fillColor="#00000000" android:pathData="M0,29L108,29"
<path android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
android:fillColor="#00000000" <path android:fillColor="#00000000" android:pathData="M0,39L108,39"
android:pathData="M59,0L59,108" android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
android:strokeWidth="0.8" <path android:fillColor="#00000000" android:pathData="M0,49L108,49"
android:strokeColor="#33FFFFFF" /> android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path <path android:fillColor="#00000000" android:pathData="M0,59L108,59"
android:fillColor="#00000000" android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
android:pathData="M69,0L69,108" <path android:fillColor="#00000000" android:pathData="M0,69L108,69"
android:strokeWidth="0.8" android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
android:strokeColor="#33FFFFFF" /> <path android:fillColor="#00000000" android:pathData="M0,79L108,79"
<path android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
android:fillColor="#00000000" <path android:fillColor="#00000000" android:pathData="M0,89L108,89"
android:pathData="M79,0L79,108" android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
android:strokeWidth="0.8" <path android:fillColor="#00000000" android:pathData="M0,99L108,99"
android:strokeColor="#33FFFFFF" /> android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path <path android:fillColor="#00000000" android:pathData="M19,29L89,29"
android:fillColor="#00000000" android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
android:pathData="M89,0L89,108" <path android:fillColor="#00000000" android:pathData="M19,39L89,39"
android:strokeWidth="0.8" android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
android:strokeColor="#33FFFFFF" /> <path android:fillColor="#00000000" android:pathData="M19,49L89,49"
<path android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
android:fillColor="#00000000" <path android:fillColor="#00000000" android:pathData="M19,59L89,59"
android:pathData="M99,0L99,108" android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
android:strokeWidth="0.8" <path android:fillColor="#00000000" android:pathData="M19,69L89,69"
android:strokeColor="#33FFFFFF" /> android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path <path android:fillColor="#00000000" android:pathData="M19,79L89,79"
android:fillColor="#00000000" android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
android:pathData="M0,9L108,9" <path android:fillColor="#00000000" android:pathData="M29,19L29,89"
android:strokeWidth="0.8" android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
android:strokeColor="#33FFFFFF" /> <path android:fillColor="#00000000" android:pathData="M39,19L39,89"
<path android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
android:fillColor="#00000000" <path android:fillColor="#00000000" android:pathData="M49,19L49,89"
android:pathData="M0,19L108,19" android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
android:strokeWidth="0.8" <path android:fillColor="#00000000" android:pathData="M59,19L59,89"
android:strokeColor="#33FFFFFF" /> android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
<path <path android:fillColor="#00000000" android:pathData="M69,19L69,89"
android:fillColor="#00000000" android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
android:pathData="M0,29L108,29" <path android:fillColor="#00000000" android:pathData="M79,19L79,89"
android:strokeWidth="0.8" android:strokeColor="#33FFFFFF" android:strokeWidth="0.8"/>
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,39L108,39"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,49L108,49"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,59L108,59"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,69L108,69"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,79L108,79"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,89L108,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M0,99L108,99"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,29L89,29"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,39L89,39"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,49L89,49"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,59L89,59"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,69L89,69"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M19,79L89,79"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M29,19L29,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M39,19L39,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M49,19L49,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M59,19L59,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M69,19L69,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
<path
android:fillColor="#00000000"
android:pathData="M79,19L79,89"
android:strokeWidth="0.8"
android:strokeColor="#33FFFFFF" />
</vector> </vector>
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/ic_launcher_background"/> <background android:drawable="@drawable/ic_launcher_background"/>
<foreground android:drawable="@drawable/ic_launcher_foreground" /> <foreground android:drawable="@mipmap/ic_launcher_foreground"/>
<monochrome android:drawable="@mipmap/ic_launcher_foreground"/>
</adaptive-icon> </adaptive-icon>
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android"> <adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@drawable/ic_launcher_background"/> <background android:drawable="@drawable/ic_launcher_background"/>
<foreground android:drawable="@drawable/ic_launcher_foreground" /> <foreground android:drawable="@mipmap/ic_launcher_foreground"/>
<monochrome android:drawable="@mipmap/ic_launcher_foreground"/>
</adaptive-icon> </adaptive-icon>
Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="splash_bgc">#333333</color>
<color name="background">#FF121212</color>
</resources>
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="purple_200">#FFBB86FC</color>
<color name="purple_500">#FF6200EE</color>
<color name="purple_700">#FF3700B3</color>
<color name="teal_200">#FF03DAC5</color>
<color name="teal_700">#FF018786</color>
<color name="black">#FF000000</color>
<color name="white">#FFFFFFFF</color>
<color name="splash_bgc">#FFFFFFFF</color>
<color name="background">#FFFFFBFE</color>
</resources>
@@ -1,3 +1,3 @@
<resources> <resources>
<string name="app_name">TorqueVaultKMP</string> <string name="app_name">Torque Vault</string>
</resources> </resources>
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="Theme.TorqueVault" parent="android:Theme.Material.Light.NoActionBar" />
<style name="Theme.TorqueVaultSplashScreen" parent="Theme.SplashScreen" >
<item name="windowSplashScreenBackground">@color/splash_bgc</item>
<item name="postSplashScreenTheme">@style/Theme.TorqueVault</item>
<item name="windowSplashScreenAnimatedIcon">@drawable/ic_dts_logo</item>
</style>
</resources>
@@ -0,0 +1,36 @@
<vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="50.dp" android:viewportHeight="388" android:viewportWidth="388" android:width="50.dp">
<group
android:scaleY="0.6"
android:scaleX="0.6"
android:pivotX="194"
android:pivotY="194"
>
<path android:fillColor="#ED3237" android:pathData="M275,389C221.65,389 168.29,389 114.38,388.67C77.1,351.62 40.38,314.88 3.65,278.16C2.85,277.36 1.89,276.72 1,276C1,222.31 1,168.62 1.33,114.38C38.39,77.11 75.12,40.39 111.84,3.65C112.64,2.85 113.28,1.89 114,1C167.69,1 221.38,1 275.64,1.32C312.36,37.79 348.51,73.94 384.67,110.08C385.72,111.12 386.89,112.03 388,113C388,167.02 388,221.04 387.67,275.62C350.61,312.89 313.88,349.61 277.16,386.35C276.36,387.15 275.72,388.11 275,389M344,208.45C344.33,205.02 345.15,201.57 344.91,198.18C344.13,187.06 344.02,175.74 341.74,164.89C334.21,129.06 315.72,99.52 287.09,76.8C263.34,57.95 235.82,47.62 205.62,45.11C191.3,43.92 176.85,44.83 162.87,48.18C127.82,56.57 98.67,74.39 76.31,103.11C58.31,126.23 47.79,152.37 45.32,181.28C44.15,194.96 45,209.17 47.32,222.73C52.41,252.52 66.34,278.42 87.64,299.75C96.66,308.78 107.41,316.31 118.14,323.37C139.29,337.29 163.16,343.74 188.21,344.75C199.59,345.21 211.17,343.65 222.49,341.89C250.25,337.56 274.19,324.74 295.01,306.31C309.09,293.84 320.1,278.8 328.66,261.92C337.09,245.31 341.92,227.78 344,208.45z" android:strokeColor="#00000000"/>
<!-- <path android:fillColor="#FFFFFF" android:pathData="M113.53,1C113.28,1.89 112.64,2.85 111.84,3.65C75.12,40.39 38.39,77.11 1.33,113.91C1,76.41 1,38.81 1,1C38.35,1 75.71,1 113.53,1z" android:strokeColor="#00000000"/>-->
<!-- <path android:fillColor="#FFFFFF" android:pathData="M1,276.47C1.89,276.72 2.85,277.36 3.65,278.16C40.38,314.88 77.1,351.62 113.91,388.67C76.41,389 38.81,389 1,389C1,351.65 1,314.29 1,276.47z" android:strokeColor="#00000000"/>-->
<!-- <path android:fillColor="#FFFFFF" android:pathData="M275.47,389C275.72,388.11 276.36,387.15 277.16,386.35C313.88,349.61 350.61,312.89 387.67,276.09C388,313.59 388,351.19 388,389C350.65,389 313.29,389 275.47,389z" android:strokeColor="#00000000"/>-->
<!-- <path android:fillColor="#FFFFFF" android:pathData="M388,112.53C386.89,112.03 385.72,111.12 384.67,110.08C348.51,73.94 312.36,37.79 276.11,1.32C313.26,1 350.52,1 388,1C388,38.02 388,75.04 388,112.53z" android:strokeColor="#00000000"/>-->
<path android:fillColor="#FFFFFF" android:pathData="M344,208.92C341.92,227.78 337.09,245.31 328.66,261.92C320.1,278.8 309.09,293.84 295.01,306.31C274.19,324.74 250.25,337.56 222.49,341.89C211.17,343.65 199.59,345.21 188.21,344.75C163.16,343.74 139.29,337.29 118.14,323.37C107.41,316.31 96.66,308.78 87.64,299.75C66.34,278.42 52.41,252.52 47.32,222.73C45,209.17 44.15,194.96 45.32,181.28C47.79,152.37 58.31,126.23 76.31,103.11C98.67,74.39 127.82,56.57 162.87,48.18C176.85,44.83 191.3,43.92 205.62,45.11C235.82,47.62 263.34,57.95 287.09,76.8C315.72,99.52 334.21,129.06 341.74,164.89C344.02,175.74 344.13,187.06 344.91,198.18C345.15,201.57 344.33,205.02 344,208.92M105.01,285.52C108.81,289.19 113.32,291.01 118.62,291.01C169.59,290.99 220.56,290.93 271.53,291.06C282.01,291.09 290.81,281.6 290.87,272.02C291.15,220.72 291.01,169.41 290.99,118.11C290.99,107.31 279.89,98.75 271.25,98.81C220.79,99.19 170.31,99.34 119.85,98.75C107.95,98.62 97.95,108.79 97.97,120.96C98.05,170.26 97.96,219.57 98.05,268.87C98.06,274.97 99.85,280.62 105.01,285.52z" android:strokeColor="#00000000"/>
<path android:fillColor="#201E1E" android:pathData="M104.75,285.26C99.85,280.62 98.06,274.97 98.05,268.87C97.96,219.57 98.05,170.26 97.97,120.96C97.95,108.79 107.95,98.62 119.85,98.75C170.31,99.34 220.79,99.19 271.25,98.81C279.89,98.75 290.99,107.31 290.99,118.11C291.01,169.41 291.15,220.72 290.87,272.02C290.81,281.6 282.01,291.09 271.53,291.06C220.56,290.93 169.59,290.99 118.62,291.01C113.32,291.01 108.81,289.19 104.75,285.26M190.5,232C168.75,232 147.01,232 125.08,232C134.6,253.76 161.48,272.12 187.57,274.09C228.75,277.19 255.88,250.65 264.44,232C240.1,232 215.8,232 190.5,232M177.5,156.94C206.24,156.94 234.99,156.94 263.93,156.94C253.43,134.75 226.91,115.36 194.73,115.14C163.76,114.92 135.3,134.93 125.55,156.94C142.57,156.94 159.54,156.94 177.5,156.94M122,182.6C122,193.01 122,203.41 122,214C134.24,214 145.86,214.25 157.47,213.92C166.7,213.66 169.53,211.57 170.7,203.16C171.45,197.76 170.26,192.1 170.05,186.56C169.83,180.69 166.09,178.21 161.01,178.09C148.18,177.81 135.35,178 122,178C122,178.75 122,180.19 122,182.6M223.92,210.36C226.46,211.57 228.97,213.71 231.57,213.83C240.54,214.27 249.57,214.31 258.55,213.9C265.39,213.59 267.44,209.79 267.02,204.96C266.9,203.63 266.87,202.28 267.02,200.96C267.67,195.23 263.87,192.73 258.86,192.12C252,191.3 245.03,191.04 238.11,191.1C233.46,191.14 232.11,189.52 233.45,185.01C240.12,185.01 247.05,183.78 253.21,185.43C257.41,186.56 261.17,188.71 265.71,187.63C266.14,181.72 264.51,178.67 258.85,178.13C249.68,177.26 240.39,176.89 231.19,177.23C227.23,177.38 223.13,179.39 222.96,184.9C222.63,195.2 223.05,197.09 230.12,198.37C237.35,199.68 244.84,199.56 252.22,199.98C254.55,200.11 257,199.58 257.05,203.26C257.1,207.03 254.53,206.92 252.09,206.98C247.92,207.07 243.74,206.81 239.59,207.06C235.57,207.3 232.58,206.26 231.68,202.17C228.3,202.17 225.33,202.17 221.69,202.17C222.27,204.92 222.79,207.37 223.92,210.36M187.51,177C183.08,177 178.64,177 174.29,177C174.29,180.31 174.29,183.04 174.29,186.18C179.98,186.18 185.39,186.18 191.18,186.18C191.18,195.66 191.18,204.72 191.18,213.7C194.99,213.7 198.39,213.7 202.18,213.7C202.18,204.34 202.18,195.28 202.18,185.82C207.99,185.82 213.4,185.82 218.7,185.82C218.7,182.67 218.7,179.94 218.7,177C208.43,177 198.47,177 187.51,177z" android:strokeColor="#00000000"/>
<path android:fillColor="#FFFFFF" android:pathData="M191,232C215.8,232 240.1,232 264.44,232C255.88,250.65 228.75,277.19 187.57,274.09C161.48,272.12 134.6,253.76 125.08,232C147.01,232 168.75,232 191,232z" android:strokeColor="#00000000"/>
<path android:fillColor="#FFFFFF" android:pathData="M177,156.94C159.54,156.94 142.57,156.94 125.55,156.94C135.3,134.93 163.76,114.92 194.73,115.14C226.91,115.36 253.43,134.75 263.93,156.94C234.99,156.94 206.24,156.94 177,156.94z" android:strokeColor="#00000000"/>
<path android:fillColor="#FFFFFF" android:pathData="M122,182.12C122,180.19 122,178.75 122,178C135.35,178 148.18,177.81 161.01,178.09C166.09,178.21 169.83,180.69 170.05,186.56C170.26,192.1 171.45,197.76 170.7,203.16C169.53,211.57 166.7,213.66 157.47,213.92C145.86,214.25 134.24,214 122,214C122,203.41 122,193.01 122,182.12M133,190.62C133,195.37 133,200.12 133,205C140.32,205 147,204.61 153.61,205.13C158.53,205.51 160.28,202.74 160.81,199.07C161.24,196.12 160.38,192.98 160.02,189.94C159.67,186.87 157.77,185.91 154.85,185.97C148.69,186.08 142.53,186.17 136.38,185.93C133.32,185.8 132.61,187.04 133,190.62z" android:strokeColor="#00000000"/>
<path android:fillColor="#FFFFFF" android:pathData="M223.61,210.09C222.79,207.37 222.27,204.92 221.69,202.17C225.33,202.17 228.3,202.17 231.68,202.17C232.58,206.26 235.57,207.3 239.59,207.06C243.74,206.81 247.92,207.07 252.09,206.98C254.53,206.92 257.1,207.03 257.05,203.26C257,199.58 254.55,200.11 252.22,199.98C244.84,199.56 237.35,199.68 230.12,198.37C223.05,197.09 222.63,195.2 222.96,184.9C223.13,179.39 227.23,177.38 231.19,177.23C240.39,176.89 249.68,177.26 258.85,178.13C264.51,178.67 266.14,181.72 265.71,187.63C261.17,188.71 257.41,186.56 253.21,185.43C247.05,183.78 240.12,185.01 233.45,185.01C232.11,189.52 233.46,191.14 238.11,191.1C245.03,191.04 252,191.3 258.86,192.12C263.87,192.73 267.67,195.23 267.02,200.96C266.87,202.28 266.9,203.63 267.02,204.96C267.44,209.79 265.39,213.59 258.55,213.9C249.57,214.31 240.54,214.27 231.57,213.83C228.97,213.71 226.46,211.57 223.61,210.09z" android:strokeColor="#00000000"/>
<path android:fillColor="#FFFFFF" android:pathData="M188.01,177C198.47,177 208.43,177 218.7,177C218.7,179.94 218.7,182.67 218.7,185.82C213.4,185.82 207.99,185.82 202.18,185.82C202.18,195.28 202.18,204.34 202.18,213.7C198.39,213.7 194.99,213.7 191.18,213.7C191.18,204.72 191.18,195.66 191.18,186.18C185.39,186.18 179.98,186.18 174.29,186.18C174.29,183.04 174.29,180.31 174.29,177C178.64,177 183.08,177 188.01,177z" android:strokeColor="#00000000"/>
<path android:fillColor="#201E1E" android:pathData="M133,190.14C132.61,187.04 133.32,185.8 136.38,185.93C142.53,186.17 148.69,186.08 154.85,185.97C157.77,185.91 159.67,186.87 160.02,189.94C160.38,192.98 161.24,196.12 160.81,199.07C160.28,202.74 158.53,205.51 153.61,205.13C147,204.61 140.32,205 133,205C133,200.12 133,195.37 133,190.14z" android:strokeColor="#00000000"/>
</group>
</vector>
@@ -10,7 +10,7 @@ sealed class LogFilter(val name: String) {
const val SYSTEM = "System" const val SYSTEM = "System"
const val DEVICE = "Device" const val DEVICE = "Device"
val entries = listOf(All, System, Device()) val entries: List<LogFilter> by lazy { listOf(All, System, Device()) }
fun fromString(value: String): LogFilter { fun fromString(value: String): LogFilter {
return when (value) { return when (value) {
@@ -208,7 +208,7 @@ fun DeviceSelector(
) { ) {
devices.forEachIndexed { index, device -> devices.forEachIndexed { index, device ->
DropdownMenuItem( DropdownMenuItem(
text = { Text("${device.name} - ${device.id.takeLast(12)}") }, text = { Text("${device.name} - ${Helper.formatDeviceId(device.id)}") },
onClick = { onClick = {
onDeviceSelected(device) onDeviceSelected(device)
expanded = false expanded = false
+3
View File
@@ -21,6 +21,7 @@ logger = "2.7.1"
sqldelight = "2.3.2" sqldelight = "2.3.2"
kotlinx-datetime = "0.8.0" kotlinx-datetime = "0.8.0"
kable = "0.43.0" kable = "0.43.0"
androidxCoreSplashscreen = "1.2.0"
[libraries] [libraries]
kotlin-test = { module = "org.jetbrains.kotlin:kotlin-test", version.ref = "kotlin" } kotlin-test = { module = "org.jetbrains.kotlin:kotlin-test", version.ref = "kotlin" }
@@ -69,6 +70,8 @@ sqldelight-native = { module = "app.cash.sqldelight:native-driver", version.ref
kotlinx-datetime = { module = "org.jetbrains.kotlinx:kotlinx-datetime", version.ref = "kotlinx-datetime" } kotlinx-datetime = { module = "org.jetbrains.kotlinx:kotlinx-datetime", version.ref = "kotlinx-datetime" }
ble-kable = { module = "com.juul.kable:kable-core", version.ref = "kable" } ble-kable = { module = "com.juul.kable:kable-core", version.ref = "kable" }
androidx-core-splashscreen = {module = "androidx.core:core-splashscreen", version.ref = "androidxCoreSplashscreen" }
[plugins] [plugins]
androidApplication = { id = "com.android.application", version.ref = "agp" } androidApplication = { id = "com.android.application", version.ref = "agp" }
androidLibrary = { id = "com.android.library", version.ref = "agp" } androidLibrary = { id = "com.android.library", version.ref = "agp" }
+8 -2
View File
@@ -299,6 +299,7 @@
buildSettings = { buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = NO;
CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic; CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_ASSET_PATHS = "\"iosApp/Preview Content\""; DEVELOPMENT_ASSET_PATHS = "\"iosApp/Preview Content\"";
@@ -306,9 +307,11 @@
ENABLE_PREVIEWS = YES; ENABLE_PREVIEWS = YES;
GENERATE_INFOPLIST_FILE = YES; GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = iosApp/Info.plist; INFOPLIST_FILE = iosApp/Info.plist;
INFOPLIST_KEY_NSBluetoothAlwaysUsageDescription = "The app requires Bluetooth to connect and manage Torque devices.";
INFOPLIST_KEY_NSBluetoothPeripheralUsageDescription = "The app requires Bluetooth to connect and manage Torque devices.";
INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES;
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
INFOPLIST_KEY_UILaunchScreen_Generation = YES; INFOPLIST_KEY_UILaunchStoryboardName = SplashScreen.storyboard;
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
IPHONEOS_DEPLOYMENT_TARGET = 17.6; IPHONEOS_DEPLOYMENT_TARGET = 17.6;
@@ -327,6 +330,7 @@
buildSettings = { buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = NO;
CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic; CODE_SIGN_STYLE = Automatic;
DEVELOPMENT_ASSET_PATHS = "\"iosApp/Preview Content\""; DEVELOPMENT_ASSET_PATHS = "\"iosApp/Preview Content\"";
@@ -334,9 +338,11 @@
ENABLE_PREVIEWS = YES; ENABLE_PREVIEWS = YES;
GENERATE_INFOPLIST_FILE = YES; GENERATE_INFOPLIST_FILE = YES;
INFOPLIST_FILE = iosApp/Info.plist; INFOPLIST_FILE = iosApp/Info.plist;
INFOPLIST_KEY_NSBluetoothAlwaysUsageDescription = "The app requires Bluetooth to connect and manage Torque devices.";
INFOPLIST_KEY_NSBluetoothPeripheralUsageDescription = "The app requires Bluetooth to connect and manage Torque devices.";
INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES; INFOPLIST_KEY_UIApplicationSceneManifest_Generation = YES;
INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES; INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
INFOPLIST_KEY_UILaunchScreen_Generation = YES; INFOPLIST_KEY_UILaunchStoryboardName = SplashScreen.storyboard;
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
IPHONEOS_DEPLOYMENT_TARGET = 17.6; IPHONEOS_DEPLOYMENT_TARGET = 17.6;
Binary file not shown.

After

Width:  |  Height:  |  Size: 88 KiB

@@ -1,7 +1,7 @@
{ {
"images" : [ "images" : [
{ {
"filename" : "app-icon-1024.png", "filename" : "App Icon.png",
"idiom" : "universal", "idiom" : "universal",
"platform" : "ios", "platform" : "ios",
"size" : "1024x1024" "size" : "1024x1024"
Binary file not shown.

Before

Width:  |  Height:  |  Size: 66 KiB

@@ -0,0 +1,21 @@
{
"images" : [
{
"filename" : "DTS-LOGO.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"idiom" : "universal",
"scale" : "2x"
},
{
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

+2
View File
@@ -24,5 +24,7 @@
<key>NSBluetoothPeripheralUsageDescription</key> <key>NSBluetoothPeripheralUsageDescription</key>
<string>The app requires Bluetooth to connect and manage Torque devices.</string> <string>The app requires Bluetooth to connect and manage Torque devices.</string>
<key>UILaunchScreen</key>
<dict/>
</dict> </dict>
</plist> </plist>
+35
View File
@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="24765" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="01J-lp-oVM">
<device id="retina6_12" orientation="portrait" appearance="light"/>
<dependencies>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="24743"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<scenes>
<!--View Controller-->
<scene sceneID="EHf-IW-A2E">
<objects>
<viewController id="01J-lp-oVM" sceneMemberID="viewController">
<view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
<rect key="frame" x="0.0" y="0.0" width="393" height="852"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" image="DTS-LOGO" translatesAutoresizingMaskIntoConstraints="NO" id="Mle-vl-eif">
<rect key="frame" x="76" y="346" width="240" height="160"/>
<autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/>
</imageView>
</subviews>
<viewLayoutGuide key="safeArea" id="Bcu-3y-fUS"/>
<color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
</objects>
<point key="canvasLocation" x="52.671755725190835" y="374.64788732394368"/>
</scene>
</scenes>
<resources>
<image name="DTS-LOGO" width="387" height="388"/>
</resources>
</document>