From 7ec31a7317a392e0bd3889b18c9426fd42fdf4e1 Mon Sep 17 00:00:00 2001 From: Kevin Cheung Date: Tue, 22 Oct 2024 15:37:53 -0700 Subject: [PATCH 1/2] update ActionCodeSettings snippets --- .../java/com/google/firebase/quickstart/auth/MainActivity.java | 1 + .../com/google/firebase/quickstart/auth/kotlin/MainActivity.kt | 1 + 2 files changed, 2 insertions(+) diff --git a/auth/app/src/main/java/com/google/firebase/quickstart/auth/MainActivity.java b/auth/app/src/main/java/com/google/firebase/quickstart/auth/MainActivity.java index 88fb92092..5b6aa1652 100644 --- a/auth/app/src/main/java/com/google/firebase/quickstart/auth/MainActivity.java +++ b/auth/app/src/main/java/com/google/firebase/quickstart/auth/MainActivity.java @@ -340,6 +340,7 @@ public void buildActionCodeSettings() { .setUrl("https://www.example.com/finishSignUp?cartId=1234") // This must be true .setHandleCodeInApp(true) + .setLinkDomain("custom-domain.com") .setIOSBundleId("com.example.ios") .setAndroidPackageName( "com.example.android", diff --git a/auth/app/src/main/java/com/google/firebase/quickstart/auth/kotlin/MainActivity.kt b/auth/app/src/main/java/com/google/firebase/quickstart/auth/kotlin/MainActivity.kt index 17d3bc17e..dc0587864 100644 --- a/auth/app/src/main/java/com/google/firebase/quickstart/auth/kotlin/MainActivity.kt +++ b/auth/app/src/main/java/com/google/firebase/quickstart/auth/kotlin/MainActivity.kt @@ -280,6 +280,7 @@ abstract class MainActivity : AppCompatActivity() { url = "https://www.example.com/finishSignUp?cartId=1234" // This must be true handleCodeInApp = true + setLinkDomain("custom-domain.com") setIOSBundleId("com.example.ios") setAndroidPackageName( "com.example.android", From f4b6f51a35351d05bba50cf4fbdf5a252c6ef593 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ros=C3=A1rio=20P=2E=20Fernandes?= Date: Thu, 6 Feb 2025 23:45:18 +0000 Subject: [PATCH 2/2] chore: update to firebase-bom 33.9.0 --- auth/app/build.gradle.kts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth/app/build.gradle.kts b/auth/app/build.gradle.kts index e8d210a03..d2f462c66 100644 --- a/auth/app/build.gradle.kts +++ b/auth/app/build.gradle.kts @@ -40,7 +40,7 @@ dependencies { implementation("androidx.activity:activity-ktx:1.9.3") // Import the BoM for the Firebase platform - implementation(platform("com.google.firebase:firebase-bom:33.5.0")) + implementation(platform("com.google.firebase:firebase-bom:33.9.0")) // Add the dependency for the Firebase Authentication library // When using the BoM, you don't specify versions in Firebase library dependencies