Skip to content

Commit 0d2d125

Browse files
authored
Merge branch 'feat/consolidated-buy-amount-entry' into feat/usd-on-flipcash-deposit
2 parents 7cba937 + 6ad9de1 commit 0d2d125

5 files changed

Lines changed: 19 additions & 3 deletions

File tree

.well-known/release-manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"updated": "2026-05-12T16:02:43Z",
2+
"updated": "2026-05-13T22:30:06Z",
33
"tracks": {
44
"production": {
55
"versionCode": 3508,
@@ -8,7 +8,7 @@
88
"beta": null,
99
"alpha": null,
1010
"internal": {
11-
"versionCode": 3574,
11+
"versionCode": 3584,
1212
"versionName": "2026.5.3"
1313
}
1414
}

apps/flipcash/shared/onramp/coinbase/src/main/kotlin/com/flipcash/app/onramp/CoinbaseOnRampHandler.kt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,13 @@ private fun showOnRampFailure(resources: Resources, error: CoinbaseOnRampWebErro
7777
)
7878
}
7979

80+
is CoinbaseOnRampWebError.GuestRegionMismatch -> {
81+
BottomBarManager.showAlert(
82+
title = resources.getString(R.string.error_title_onrampRegionMismatch),
83+
message = resources.getString(R.string.error_description_onrampRegionMismatch),
84+
)
85+
}
86+
8087
is CoinbaseOnRampWebError.GuestGooglePayError -> {
8188
BottomBarManager.showError(
8289
title = resources.getString(R.string.error_title_onrampTransactionFailed),

apps/flipcash/shared/onramp/coinbase/src/main/kotlin/com/flipcash/app/onramp/internal/CoinbaseOnRampEventHandler.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,7 @@ sealed class CoinbaseOnRampWebError(val data: String? = null): Throwable() {
274274
class GuestTransactionSendFailed(data: String? = null) : CoinbaseOnRampWebError(data), NotifiableError
275275
class GuestTransactionAvsValidationFailed(data: String? = null) : CoinbaseOnRampWebError(data)
276276
class GuestTransactionTransactionFailed(data: String? = null) : CoinbaseOnRampWebError(data), NotifiableError
277+
class GuestRegionMismatch(data: String? = null) : CoinbaseOnRampWebError(data)
277278
class GuestGooglePayNotReady(data: String? = null) : CoinbaseOnRampWebError(data)
278279
class Internal(data: String? = null) : CoinbaseOnRampWebError(data), NotifiableError
279280
class GooglePayButtonNotFound(data: String? = null) : CoinbaseOnRampWebError(data), NotifiableError
@@ -290,6 +291,7 @@ sealed class CoinbaseOnRampWebError(val data: String? = null): Throwable() {
290291
"ERROR_CODE_GUEST_TRANSACTION_SEND_FAILED" -> GuestTransactionSendFailed(data)
291292
"ERROR_CODE_GUEST_TRANSACTION_AVS_VALIDATION_FAILED" -> GuestTransactionAvsValidationFailed(data)
292293
"ERROR_CODE_GUEST_TRANSACTION_TRANSACTION_FAILED" -> GuestTransactionTransactionFailed(data)
294+
"ERROR_CODE_GUEST_REGION_MISMATCH" -> GuestRegionMismatch(data)
293295
"ERROR_CODE_GUEST_GOOGLE_PAY_NOT_READY" -> GuestGooglePayNotReady(data)
294296
"ERROR_CODE_INTERNAL" -> Internal(data)
295297
"ERROR_CODE_GOOGLE_PAY_BUTTON_NOT_FOUND" -> GooglePayButtonNotFound(data)

apps/flipcash/shared/onramp/coinbase/src/test/kotlin/com/flipcash/app/onramp/internal/CoinbaseOnRampEventHandlerTest.kt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@ class CoinbaseOnRampWebErrorTest {
210210
"ERROR_CODE_GUEST_TRANSACTION_SEND_FAILED" to CoinbaseOnRampWebError.GuestTransactionSendFailed::class,
211211
"ERROR_CODE_GUEST_TRANSACTION_AVS_VALIDATION_FAILED" to CoinbaseOnRampWebError.GuestTransactionAvsValidationFailed::class,
212212
"ERROR_CODE_GUEST_TRANSACTION_TRANSACTION_FAILED" to CoinbaseOnRampWebError.GuestTransactionTransactionFailed::class,
213+
"ERROR_CODE_GUEST_REGION_MISMATCH" to CoinbaseOnRampWebError.GuestRegionMismatch::class,
213214
"ERROR_CODE_INTERNAL" to CoinbaseOnRampWebError.Internal::class,
214215
"ERROR_CODE_GOOGLE_PAY_BUTTON_NOT_FOUND" to CoinbaseOnRampWebError.GooglePayButtonNotFound::class,
215216
)
@@ -242,6 +243,12 @@ class CoinbaseOnRampWebErrorTest {
242243
assertIs<Throwable>(error)
243244
}
244245

246+
@Test
247+
fun guestRegionMismatchIsNotNotifiable() {
248+
val error = CoinbaseOnRampWebError.GuestRegionMismatch()
249+
assertFalse(error is NotifiableError)
250+
}
251+
245252
@Test
246253
fun paymentSheetTimeoutIsNotNotifiable() {
247254
val error = CoinbaseOnRampWebError.PaymentSheetTimeout()

ui/biometrics/src/main/kotlin/com/getcode/ui/biometrics/Biometrics.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import com.getcode.libs.biometrics.BiometricsError
1616
import com.getcode.libs.biometrics.BiometricsException
1717
import com.getcode.ui.components.OnLifecycleEvent
1818

19-
private const val BIOMETRICS_COOLDOWN_MS = 30_000L
19+
private const val BIOMETRICS_COOLDOWN_MS = 90_000L
2020

2121
data class BiometricsState(
2222
val checking: Boolean = false,

0 commit comments

Comments
 (0)