configure Firebase Android

This commit is contained in:
2023-06-06 19:47:48 +02:00
parent 882c55373b
commit 53b364e798
2 changed files with 40 additions and 5 deletions

View File

@@ -0,0 +1,40 @@
{
"project_info": {
"project_number": "1048273547256",
"firebase_url": "https://contexted-f8b4e.firebaseio.com",
"project_id": "contexted-f8b4e",
"storage_bucket": "contexted-f8b4e.appspot.com"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:1048273547256:android:878e44df2e5f0b200f700d",
"android_client_info": {
"package_name": "com.contexted.app"
}
},
"oauth_client": [
{
"client_id": "1048273547256-mq8b1irdiovpblrdcuf8bb30is29rfm9.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyCJ-A3ziDw_2qMWnP2uXFDoY2O8DrUlXp8"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "1048273547256-mq8b1irdiovpblrdcuf8bb30is29rfm9.apps.googleusercontent.com",
"client_type": 3
}
]
}
}
}
],
"configuration_version": "1"
}

View File

@@ -10,10 +10,6 @@ import {
type SignInWithOAuthOptions
} from '@capacitor-firebase/authentication'
const props = defineProps<{
authenticating?: boolean
}>()
const emit = defineEmits<{
signedIn: [authResult: any]
}>()
@@ -23,7 +19,6 @@ const firebaseAuthUI =
firebaseui.auth.AuthUI.getInstance() || new firebaseui.auth.AuthUI(firebase.auth())
const uiConfig = {
signInOptions: [
firebase.auth.EmailAuthProvider.PROVIDER_ID