configure Firebase Android
This commit is contained in:
40
android/app/google-services.json
Normal file
40
android/app/google-services.json
Normal 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"
|
||||||
|
}
|
||||||
@@ -10,10 +10,6 @@ import {
|
|||||||
type SignInWithOAuthOptions
|
type SignInWithOAuthOptions
|
||||||
} from '@capacitor-firebase/authentication'
|
} from '@capacitor-firebase/authentication'
|
||||||
|
|
||||||
const props = defineProps<{
|
|
||||||
authenticating?: boolean
|
|
||||||
}>()
|
|
||||||
|
|
||||||
const emit = defineEmits<{
|
const emit = defineEmits<{
|
||||||
signedIn: [authResult: any]
|
signedIn: [authResult: any]
|
||||||
}>()
|
}>()
|
||||||
@@ -23,7 +19,6 @@ const firebaseAuthUI =
|
|||||||
firebaseui.auth.AuthUI.getInstance() || new firebaseui.auth.AuthUI(firebase.auth())
|
firebaseui.auth.AuthUI.getInstance() || new firebaseui.auth.AuthUI(firebase.auth())
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
const uiConfig = {
|
const uiConfig = {
|
||||||
signInOptions: [
|
signInOptions: [
|
||||||
firebase.auth.EmailAuthProvider.PROVIDER_ID
|
firebase.auth.EmailAuthProvider.PROVIDER_ID
|
||||||
|
|||||||
Reference in New Issue
Block a user