Android(gradle), firebase 연동

이도현·2023년 8월 11일
0

Android 공부

목록 보기
5/30

build.gradle(:app)

  • dependence에 사용할 기능 implementation

build.gradle(:project)

buildscript{
	repositoryes{
		google()
		mavenCentral()
	}
	dependencies{
		classpath 'com.google.gms:google-services:4.3.14'
	}
}

plugins{
	id 'com.android.application' version '7.3.1' apply false
	id 'com.android.library' version '7.3.1' apply false
	id 'org.jetbrains.kotlin.android' version '1.7.30' apply false
}

firbase관련 dependence 종류(Gradle)

  • 여기있는걸 그대로 사용하지말고 최신버전이 있는지 확인하고 쓰길 바란다.

implementation 'com.google.firebase:firebase-auth:21.0.1'
Firebase Realtime Database (실시간 데이터베이스)

implementation 'com.google.firebase:firebase-database:20.0.3'
Firebase Firestore (클라우드 Firestore)

implementation 'com.google.firebase:firebase-firestore:24.0.1'
Firebase Cloud Messaging (FCM, 클라우드 메시징)

implementation 'com.google.firebase:firebase-messaging:22.0.0'
Firebase Analytics (분석)

implementation 'com.google.firebase:firebase-analytics:19.0.1'
Firebase Cloud Storage (클라우드 저장소)

implementation 'com.google.firebase:firebase-storage:20.0.0'
Firebase Crashlytics (크래시 리포팅)

implementation 'com.google.firebase:firebase-crashlytics:18.0.1'
Firebase In-App Messaging (앱 내 메시징)

implementation 'com.google.firebase:firebase-inappmessaging:20.0.0'
Firebase Remote Config (원격 구성)

implementation 'com.google.firebase:firebase-config:21.0.0'
Firebase Performance Monitoring (성능 모니터링)

implementation 'com.google.firebase:firebase-perf:20.0.2'
Firebase Dynamic Links (다이나믹 링크)

implementation 'com.google.firebase:firebase-dynamic-links:20.1.0'
Firebase ML (머신러닝)

implementation 'com.google.firebase:firebase-ml-model-interpreter:22.0.3'

profile
좋은 지식 나누어요

0개의 댓글