Skip to content

Commit

Permalink
Use Google OneTap on Android 14 for now
Browse files Browse the repository at this point in the history
Signed-off-by: TheRealJan <[email protected]>
  • Loading branch information
jan-tennert committed Oct 18, 2023
1 parent 4f6092e commit da78ea9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ org.gradle.parallel=true
org.jetbrains.compose.experimental.uikit.enabled=true
org.jetbrains.compose.experimental.jscanvas.enabled=true

supabase-version = 1.4.2
supabase-version = 1.4.3
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ import kotlinx.coroutines.tasks.await
@Composable
actual fun ComposeAuth.rememberLoginWithGoogle(onResult: (NativeSignInResult) -> Unit, fallback: suspend () -> Unit): NativeSignInState {
return if (android.os.Build.VERSION.SDK_INT > android.os.Build.VERSION_CODES.TIRAMISU) {
signInWithCM(onResult, fallback)
oneTapSignIn(onResult, fallback)
} else {
oneTapSignIn(onResult, fallback)
}
Expand Down

0 comments on commit da78ea9

Please sign in to comment.