Skip to content

Commit b1b1ab6

Browse files
authored
replace google services info (#2271)
1 parent 2c0aef9 commit b1b1ab6

File tree

12 files changed

+622
-44
lines changed

12 files changed

+622
-44
lines changed

app/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ plugins {
66
}
77

88
android {
9-
namespace = "com.firebase.uidemo"
9+
namespace = "com.firebaseui.android.demo"
1010
compileSdk = Config.SdkVersions.compile
1111

1212
defaultConfig {
13-
applicationId = "com.firebase.uidemo"
13+
applicationId = "com.firebaseui.android.demo"
1414
minSdk = Config.SdkVersions.min
1515
targetSdk = Config.SdkVersions.target
1616
versionCode = 1

app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
android:theme="@style/Theme.FirebaseUIAndroid"
1414
android:usesCleartextTraffic="true">
1515
<activity
16-
android:name="com.firebase.uidemo.MainActivity"
16+
android:name="com.firebaseui.android.demo.MainActivity"
1717
android:label="@string/app_name"
1818
android:exported="true"
1919
android:theme="@style/Theme.FirebaseUIAndroid">

app/src/main/java/com/firebase/uidemo/AuthFlowControllerDemoActivity.kt renamed to app/src/main/java/com/firebaseui/android/demo/AuthFlowControllerDemoActivity.kt

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.firebase.uidemo
1+
package com.firebaseui.android.demo
22

33
import android.app.Activity
44
import android.content.Context
@@ -83,10 +83,10 @@ class AuthFlowControllerDemoActivity : ComponentActivity() {
8383
isEmailLinkForceSameDeviceEnabled = true,
8484
isEmailLinkSignInEnabled = false,
8585
emailLinkActionCodeSettings = actionCodeSettings {
86-
url = "https://temp-test-aa342.firebaseapp.com"
86+
url = "https://flutterfire-e2e-tests.firebaseapp.com"
8787
handleCodeInApp = true
8888
setAndroidPackageName(
89-
"com.firebase.uidemo",
89+
"com.firebaseui.android.demo",
9090
true,
9191
null
9292
)
@@ -107,9 +107,7 @@ class AuthFlowControllerDemoActivity : ComponentActivity() {
107107
timeout = 120L,
108108
isInstantVerificationEnabled = true
109109
),
110-
AuthProvider.Facebook(
111-
applicationId = "792556260059222"
112-
)
110+
AuthProvider.Facebook()
113111
),
114112
tosUrl = "https://policies.google.com/terms?hl=en-NG&fg=1",
115113
privacyPolicyUrl = "https://policies.google.com/privacy?hl=en-NG&fg=1"

app/src/main/java/com/firebase/uidemo/CustomSlotsThemingDemoActivity.kt renamed to app/src/main/java/com/firebaseui/android/demo/CustomSlotsThemingDemoActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.firebase.uidemo
1+
package com.firebaseui.android.demo
22

33
import android.os.Bundle
44
import android.util.Log

app/src/main/java/com/firebase/uidemo/HighLevelApiDemoActivity.kt renamed to app/src/main/java/com/firebaseui/android/demo/HighLevelApiDemoActivity.kt

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.firebase.uidemo
1+
package com.firebaseui.android.demo
22

33
import android.os.Bundle
44
import android.util.Log
@@ -53,7 +53,7 @@ class HighLevelApiDemoActivity : ComponentActivity() {
5353
provider(
5454
AuthProvider.Google(
5555
scopes = listOf("email"),
56-
serverClientId = "771411398215-o39fujhds88bs4mb5ai7u6o73g86fspp.apps.googleusercontent.com",
56+
serverClientId = "406099696497-a12gakvts4epfk5pkio7dphc1anjiggc.apps.googleusercontent.com",
5757
)
5858
)
5959
provider(
@@ -62,10 +62,10 @@ class HighLevelApiDemoActivity : ComponentActivity() {
6262
isEmailLinkForceSameDeviceEnabled = false,
6363
isEmailLinkSignInEnabled = true,
6464
emailLinkActionCodeSettings = actionCodeSettings {
65-
url = "https://temp-test-aa342.firebaseapp.com"
65+
url = "https://flutterfire-e2e-tests.firebaseapp.com"
6666
handleCodeInApp = true
6767
setAndroidPackageName(
68-
"com.firebase.uidemo",
68+
"com.firebaseui.android.demo",
6969
true,
7070
null
7171
)
@@ -90,9 +90,7 @@ class HighLevelApiDemoActivity : ComponentActivity() {
9090
)
9191
)
9292
provider(
93-
AuthProvider.Facebook(
94-
applicationId = "792556260059222"
95-
)
93+
AuthProvider.Facebook()
9694
)
9795
provider(
9896
AuthProvider.Twitter(

app/src/main/java/com/firebase/uidemo/MainActivity.kt renamed to app/src/main/java/com/firebaseui/android/demo/MainActivity.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.firebase.uidemo
1+
package com.firebaseui.android.demo
22

33
import android.content.Intent
44
import android.os.Bundle
@@ -36,7 +36,7 @@ import com.google.firebase.FirebaseApp
3636
*/
3737
class MainActivity : ComponentActivity() {
3838
companion object {
39-
private const val USE_AUTH_EMULATOR = true
39+
private const val USE_AUTH_EMULATOR = false
4040
private const val AUTH_EMULATOR_HOST = "10.0.2.2"
4141
private const val AUTH_EMULATOR_PORT = 9099
4242
}

app/src/main/java/com/firebase/uidemo/ui/theme/Color.kt renamed to app/src/main/java/com/firebaseui/android/demo/ui/theme/Color.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.firebase.uidemo.ui.theme
1+
package com.firebaseui.android.demo.ui.theme
22

33
import androidx.compose.ui.graphics.Color
44

app/src/main/java/com/firebase/uidemo/ui/theme/Theme.kt renamed to app/src/main/java/com/firebaseui/android/demo/ui/theme/Theme.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.firebase.uidemo.ui.theme
1+
package com.firebaseui.android.demo.ui.theme
22

33
import android.app.Activity
44
import android.os.Build

app/src/main/java/com/firebase/uidemo/ui/theme/Type.kt renamed to app/src/main/java/com/firebaseui/android/demo/ui/theme/Type.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.firebase.uidemo.ui.theme
1+
package com.firebaseui.android.demo.ui.theme
22

33
import androidx.compose.material3.Typography
44
import androidx.compose.ui.text.TextStyle
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<resources>
22
<string name="app_name">FirebaseUI Demo</string>
33

4-
<string name="firebase_web_host" translatable="false">temp-test-aa342.firebaseapp.com</string>
4+
<string name="firebase_web_host" translatable="false">flutterfire-e2e-tests.firebaseapp.com</string>
55

66
<!-- Facebook SDK Configuration -->
7-
<string name="facebook_application_id" translatable="false">1131506989188007</string>
8-
<string name="facebook_login_protocol_scheme" translatable="false">fb1131506989188007</string>
9-
<string name="facebook_client_token" translatable="false">e3968638d7751ba83063e2a78bc27e4e</string>
7+
<string name="facebook_application_id" translatable="false">128693022464535</string>
8+
<string name="facebook_login_protocol_scheme" translatable="false">fb128693022464535</string>
9+
<string name="facebook_client_token" translatable="false">16dbbdf0cfb309034a6ad98ac2a21688</string>
1010
</resources>

0 commit comments

Comments
 (0)