Skip to content

Commit

Permalink
version up
Browse files Browse the repository at this point in the history
  • Loading branch information
arvifox committed Jun 17, 2024
1 parent c46ea37 commit 0a03bbb
Show file tree
Hide file tree
Showing 38 changed files with 41 additions and 41 deletions.
2 changes: 1 addition & 1 deletion android-foundation
Submodule android-foundation updated 29 files
+28 −8 build.gradle.kts
+1 −0 src/main/AndroidManifest.xml
+9 −0 src/main/java/jp/co/soramitsu/androidfoundation/compose/AnyTitle.kt
+18 −0 src/main/java/jp/co/soramitsu/androidfoundation/compose/KeyboardState.kt
+20 −0 src/main/java/jp/co/soramitsu/androidfoundation/compose/SharedViewModel.kt
+11 −0 src/main/java/jp/co/soramitsu/androidfoundation/compose/TestTag.kt
+26 −0 src/main/java/jp/co/soramitsu/androidfoundation/coroutine/SuspendableProperty.kt
+153 −0 src/main/java/jp/co/soramitsu/androidfoundation/format/BigDecimalExt.kt
+5 −0 src/main/java/jp/co/soramitsu/androidfoundation/format/BigIntegerExt.kt
+41 −0 src/main/java/jp/co/soramitsu/androidfoundation/format/BigIntegerSerializer.kt
+21 −0 src/main/java/jp/co/soramitsu/androidfoundation/format/CollectionExt.kt
+2 −2 src/main/java/jp/co/soramitsu/androidfoundation/format/CompoundNumberFormatter.kt
+8 −0 src/main/java/jp/co/soramitsu/androidfoundation/format/CoroutineExt.kt
+8 −0 src/main/java/jp/co/soramitsu/androidfoundation/format/FiatFormatter.kt
+33 −0 src/main/java/jp/co/soramitsu/androidfoundation/format/ImageValue.kt
+7 −0 src/main/java/jp/co/soramitsu/androidfoundation/format/InputStreamExt.kt
+2 −2 src/main/java/jp/co/soramitsu/androidfoundation/format/NumberFormatters.kt
+9 −2 src/main/java/jp/co/soramitsu/androidfoundation/format/TextString.kt
+40 −5 src/main/java/jp/co/soramitsu/androidfoundation/format/TextValue.kt
+13 −0 src/main/java/jp/co/soramitsu/androidfoundation/fragment/CustomViewModelFactory.kt
+34 −9 src/main/java/jp/co/soramitsu/androidfoundation/fragment/FragmentUtils.kt
+59 −0 src/main/java/jp/co/soramitsu/androidfoundation/fragment/SingleLiveEvent.kt
+36 −6 src/main/java/jp/co/soramitsu/androidfoundation/intent/IntentUtils.kt
+6 −23 src/main/java/jp/co/soramitsu/androidfoundation/intent/ShareUtil.kt
+0 −24 src/main/java/jp/co/soramitsu/androidfoundation/phone/ClipboardManager.kt
+13 −2 src/main/java/jp/co/soramitsu/androidfoundation/phone/DeviceVibrator.kt
+70 −0 src/main/java/jp/co/soramitsu/androidfoundation/resource/ResourceManager.kt
+22 −0 src/main/java/jp/co/soramitsu/androidfoundation/testing/AssertException.kt
+20 −0 src/main/java/jp/co/soramitsu/androidfoundation/testing/ReadRes.kt
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ plugins {
alias(libs.plugins.firebaseCrashlyticsPlugin) apply false
alias(libs.plugins.firebaseAppDistributionPlugin) apply false
alias(libs.plugins.triplet) apply false
id("com.google.devtools.ksp") version "1.9.22-1.0.17" apply false
id("com.google.devtools.ksp") version "1.9.24-1.0.20" apply false
id("org.jetbrains.kotlinx.kover") version "0.7.5"
}

Expand Down
2 changes: 1 addition & 1 deletion common/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ android {
compileSdk = 34

defaultConfig {
minSdk = 24
minSdk = 26
multiDexEnabled = true
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ import java.nio.charset.CodingErrorAction
import java.nio.charset.StandardCharsets
import java.util.Locale
import java.util.regex.Pattern
import jp.co.soramitsu.androidfoundation.format.hexPrefix
import jp.co.soramitsu.androidfoundation.format.HEX_PREFIX
import jp.co.soramitsu.common.util.SoraColoredClickableSpan

fun String.parseOtpCode(): String {
Expand All @@ -73,14 +73,14 @@ fun String.getInitials(): String {
fun String.splitVersions() = split(".").map { it.toInt() }

fun String.isErc20Address(): Boolean {
return this.split(" ").size == 1 && this.startsWith(hexPrefix)
return this.split(" ").size == 1 && this.startsWith(HEX_PREFIX)
}

fun String.didToAccountId(): String {
return this.replace(":", "_") + "@sora"
}

fun String.addHexPrefix(): String = "${hexPrefix}$this"
fun String.addHexPrefix(): String = "${HEX_PREFIX}$this"

fun String.removeWebPrefix(): String =
this.removePrefix("http://").removePrefix("https://").removePrefix("www.")
Expand Down
2 changes: 1 addition & 1 deletion common_wallet/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ android {
compileSdk = 34

defaultConfig {
minSdk = 24
minSdk = 26
multiDexEnabled = true
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down
2 changes: 1 addition & 1 deletion core_db/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ android {
compileSdk = 34

defaultConfig {
minSdk = 24
minSdk = 26
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
testOptions {
Expand Down
2 changes: 1 addition & 1 deletion core_di/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ android {
compileSdk = 34

defaultConfig {
minSdk = 24
minSdk = 26
multiDexEnabled = true
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down
2 changes: 1 addition & 1 deletion demeter/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ android {
compileSdk = 34

defaultConfig {
minSdk = 24
minSdk = 26
multiDexEnabled = true
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down
2 changes: 1 addition & 1 deletion feature_account_api/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ android {
compileSdk = 34

defaultConfig {
minSdk = 24
minSdk = 26
multiDexEnabled = true
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down
2 changes: 1 addition & 1 deletion feature_account_impl/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ android {
compileSdk = 34

defaultConfig {
minSdk = 24
minSdk = 26
multiDexEnabled = true
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down
2 changes: 1 addition & 1 deletion feature_assets_api/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ android {
compileSdk = 34

defaultConfig {
minSdk = 24
minSdk = 26
multiDexEnabled = true
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down
2 changes: 1 addition & 1 deletion feature_assets_impl/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ android {
compileSdk = 34

defaultConfig {
minSdk = 24
minSdk = 26
multiDexEnabled = true
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down
2 changes: 1 addition & 1 deletion feature_blockexplorer_api/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ android {
compileSdk = 34

defaultConfig {
minSdk = 24
minSdk = 26
multiDexEnabled = true
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down
2 changes: 1 addition & 1 deletion feature_blockexplorer_impl/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ android {
compileSdk = 34

defaultConfig {
minSdk = 24
minSdk = 26
multiDexEnabled = true
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down
2 changes: 1 addition & 1 deletion feature_ecosystem_impl/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ android {
compileSdk = 34

defaultConfig {
minSdk = 24
minSdk = 26
multiDexEnabled = true
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down
2 changes: 1 addition & 1 deletion feature_ethereum_api/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ android {
compileSdk = 34

defaultConfig {
minSdk = 24
minSdk = 26
multiDexEnabled = true
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down
2 changes: 1 addition & 1 deletion feature_ethereum_impl/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ android {
compileSdk = 34

defaultConfig {
minSdk = 24
minSdk = 26
multiDexEnabled = true
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down
2 changes: 1 addition & 1 deletion feature_main_api/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ android {
compileSdk = 34

defaultConfig {
minSdk = 24
minSdk = 26
multiDexEnabled = true
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down
2 changes: 1 addition & 1 deletion feature_main_impl/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ android {
compileSdk = 34

defaultConfig {
minSdk = 24
minSdk = 26
multiDexEnabled = true
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down
2 changes: 1 addition & 1 deletion feature_multiaccount_api/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ android {
compileSdk = 34

defaultConfig {
minSdk = 24
minSdk = 26
multiDexEnabled = true
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down
2 changes: 1 addition & 1 deletion feature_multiaccount_impl/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ android {
compileSdk = 34

defaultConfig {
minSdk = 24
minSdk = 26
multiDexEnabled = true
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down
2 changes: 1 addition & 1 deletion feature_polkaswap_api/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ android {
compileSdk = 34

defaultConfig {
minSdk = 24
minSdk = 26
multiDexEnabled = true
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down
2 changes: 1 addition & 1 deletion feature_polkaswap_impl/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ android {
compileSdk = 34

defaultConfig {
minSdk = 24
minSdk = 26
multiDexEnabled = true
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down
2 changes: 1 addition & 1 deletion feature_referral_api/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ android {
compileSdk = 34

defaultConfig {
minSdk = 24
minSdk = 26
multiDexEnabled = true
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down
2 changes: 1 addition & 1 deletion feature_referral_impl/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ android {
compileSdk = 34

defaultConfig {
minSdk = 24
minSdk = 26
multiDexEnabled = true
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down
2 changes: 1 addition & 1 deletion feature_select_node_api/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ android {
compileSdk = 34

defaultConfig {
minSdk = 24
minSdk = 26
multiDexEnabled = true
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down
2 changes: 1 addition & 1 deletion feature_select_node_impl/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ android {
compileSdk = 34

defaultConfig {
minSdk = 24
minSdk = 26
multiDexEnabled = true
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down
2 changes: 1 addition & 1 deletion feature_sora_card_api/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ android {
compileSdk = 34

defaultConfig {
minSdk = 24
minSdk = 26
multiDexEnabled = true
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down
2 changes: 1 addition & 1 deletion feature_sora_card_impl/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ android {
compileSdk = 34

defaultConfig {
minSdk = 24
minSdk = 26
multiDexEnabled = true
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down
2 changes: 1 addition & 1 deletion feature_wallet_api/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ android {
compileSdk = 34

defaultConfig {
minSdk = 24
minSdk = 26
multiDexEnabled = true
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down
2 changes: 1 addition & 1 deletion feature_wallet_impl/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ android {
compileSdk = 34

defaultConfig {
minSdk = 24
minSdk = 26
multiDexEnabled = true
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ android.defaults.buildfeatures.shaders=false
android.nonTransitiveRClass=false
android.nonFinalResIds=false

composeCompilerVersion=1.5.8
composeCompilerVersion=1.5.14
4 changes: 2 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[versions]
agp = "8.3.0"
kotlin = "1.9.22"
agp = "8.5.0"
kotlin = "1.9.24"
appcompat = "1.6.1"
coroutines = "1.7.3"
coreKtx = "1.12.0"
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Fri Jan 13 13:13:48 MSK 2022
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
2 changes: 1 addition & 1 deletion network/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ android {
compileSdk = 34

defaultConfig {
minSdk = 24
minSdk = 26
multiDexEnabled = true
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down
2 changes: 1 addition & 1 deletion sorasubstrate/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ android {
compileSdk = 34

defaultConfig {
minSdk = 24
minSdk = 26
multiDexEnabled = true
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down
2 changes: 1 addition & 1 deletion test_data/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ android {
compileSdk = 34

defaultConfig {
minSdk = 24
minSdk = 26
multiDexEnabled = true
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down
2 changes: 1 addition & 1 deletion test_shared/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ android {
compileSdk = 34

defaultConfig {
minSdk = 24
minSdk = 26
multiDexEnabled = true
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}
Expand Down

0 comments on commit 0a03bbb

Please sign in to comment.