Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ plugins {
}

android {
namespace = "com.firebase.uidemo"
namespace = "com.firebaseui.android.demo"
compileSdk = Config.SdkVersions.compile

defaultConfig {
applicationId = "com.firebase.uidemo"
applicationId = "com.firebaseui.android.demo"
minSdk = Config.SdkVersions.min
targetSdk = Config.SdkVersions.target
versionCode = 1
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
android:theme="@style/Theme.FirebaseUIAndroid"
android:usesCleartextTraffic="true">
<activity
android:name="com.firebase.uidemo.MainActivity"
android:name="com.firebaseui.android.demo.MainActivity"
android:label="@string/app_name"
android:exported="true"
android:theme="@style/Theme.FirebaseUIAndroid">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.firebase.uidemo
package com.firebaseui.android.demo

import android.app.Activity
import android.content.Context
Expand Down Expand Up @@ -83,10 +83,10 @@ class AuthFlowControllerDemoActivity : ComponentActivity() {
isEmailLinkForceSameDeviceEnabled = true,
isEmailLinkSignInEnabled = false,
emailLinkActionCodeSettings = actionCodeSettings {
url = "https://temp-test-aa342.firebaseapp.com"
url = "https://flutterfire-e2e-tests.firebaseapp.com"
handleCodeInApp = true
setAndroidPackageName(
"com.firebase.uidemo",
"com.firebaseui.android.demo",
true,
null
)
Expand All @@ -107,9 +107,7 @@ class AuthFlowControllerDemoActivity : ComponentActivity() {
timeout = 120L,
isInstantVerificationEnabled = true
),
AuthProvider.Facebook(
applicationId = "792556260059222"
)
AuthProvider.Facebook()
),
tosUrl = "https://policies.google.com/terms?hl=en-NG&fg=1",
privacyPolicyUrl = "https://policies.google.com/privacy?hl=en-NG&fg=1"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.firebase.uidemo
package com.firebaseui.android.demo

import android.os.Bundle
import android.util.Log
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.firebase.uidemo
package com.firebaseui.android.demo

import android.os.Bundle
import android.util.Log
Expand Down Expand Up @@ -53,7 +53,7 @@ class HighLevelApiDemoActivity : ComponentActivity() {
provider(
AuthProvider.Google(
scopes = listOf("email"),
serverClientId = "771411398215-o39fujhds88bs4mb5ai7u6o73g86fspp.apps.googleusercontent.com",
serverClientId = "406099696497-a12gakvts4epfk5pkio7dphc1anjiggc.apps.googleusercontent.com",
)
)
provider(
Expand All @@ -62,10 +62,10 @@ class HighLevelApiDemoActivity : ComponentActivity() {
isEmailLinkForceSameDeviceEnabled = false,
isEmailLinkSignInEnabled = true,
emailLinkActionCodeSettings = actionCodeSettings {
url = "https://temp-test-aa342.firebaseapp.com"
url = "https://flutterfire-e2e-tests.firebaseapp.com"
handleCodeInApp = true
setAndroidPackageName(
"com.firebase.uidemo",
"com.firebaseui.android.demo",
true,
null
)
Expand All @@ -90,9 +90,7 @@ class HighLevelApiDemoActivity : ComponentActivity() {
)
)
provider(
AuthProvider.Facebook(
applicationId = "792556260059222"
)
AuthProvider.Facebook()
)
provider(
AuthProvider.Twitter(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.firebase.uidemo
package com.firebaseui.android.demo

import android.content.Intent
import android.os.Bundle
Expand Down Expand Up @@ -36,7 +36,7 @@ import com.google.firebase.FirebaseApp
*/
class MainActivity : ComponentActivity() {
companion object {
private const val USE_AUTH_EMULATOR = true
private const val USE_AUTH_EMULATOR = false
private const val AUTH_EMULATOR_HOST = "10.0.2.2"
private const val AUTH_EMULATOR_PORT = 9099
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.firebase.uidemo.ui.theme
package com.firebaseui.android.demo.ui.theme

import androidx.compose.ui.graphics.Color

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.firebase.uidemo.ui.theme
package com.firebaseui.android.demo.ui.theme

import android.app.Activity
import android.os.Build
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.firebase.uidemo.ui.theme
package com.firebaseui.android.demo.ui.theme

import androidx.compose.material3.Typography
import androidx.compose.ui.text.TextStyle
Expand Down
8 changes: 4 additions & 4 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<resources>
<string name="app_name">FirebaseUI Demo</string>

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

<!-- Facebook SDK Configuration -->
<string name="facebook_application_id" translatable="false">1131506989188007</string>
<string name="facebook_login_protocol_scheme" translatable="false">fb1131506989188007</string>
<string name="facebook_client_token" translatable="false">e3968638d7751ba83063e2a78bc27e4e</string>
<string name="facebook_application_id" translatable="false">128693022464535</string>
<string name="facebook_login_protocol_scheme" translatable="false">fb128693022464535</string>
<string name="facebook_client_token" translatable="false">16dbbdf0cfb309034a6ad98ac2a21688</string>
</resources>
Loading