From 490bcd87af8594b2b6d50b3ae9c367bca07cd6a7 Mon Sep 17 00:00:00 2001 From: klaus Date: Tue, 25 Feb 2025 13:34:08 +0900 Subject: [PATCH] =?UTF-8?q?=EB=A9=94=ED=83=80(=ED=8E=98=EC=9D=B4=EC=8A=A4?= =?UTF-8?q?=EB=B6=81)=20SDK=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/build.gradle | 11 +++++++ app/src/main/AndroidManifest.xml | 33 +++++++++++++++---- .../co/vividnext/sodalive/app/SodaLiveApp.kt | 3 ++ 3 files changed, 40 insertions(+), 7 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 12c7a86..ca6a0e5 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -49,6 +49,10 @@ android { buildConfigField 'String', 'BOOTPAY_APP_HECTO_ID', '"664c1707b18b225deca4b429"' buildConfigField 'String', 'AGORA_APP_ID', '"e34e40046e9847baba3adfe2b8ffb4f6"' buildConfigField 'String', 'AGORA_APP_CERTIFICATE', '"15cadeea4ba94ff7b091c9a10f4bf4a6"' + manifestPlaceholders = [ + FACEBOOK_APP_ID : "612448298237287", + FACEBOOK_CLIENT_TOKEN: "32af760f4a7b7cb7e3b1e7ffd0b0da70" + ] } debug { @@ -62,6 +66,10 @@ android { buildConfigField 'String', 'BOOTPAY_APP_HECTO_ID', '"667fca5d3bab7404f831c3e4"' buildConfigField 'String', 'AGORA_APP_ID', '"b96574e191a9430fa54c605528aa3ef7"' buildConfigField 'String', 'AGORA_APP_CERTIFICATE', '"ae18ade3afcf4086bd4397726eb0654c"' + manifestPlaceholders = [ + FACEBOOK_APP_ID : "608674328645232", + FACEBOOK_CLIENT_TOKEN: "3775e6ea83236a685d264b6c5a1bbb4d" + ] } } compileOptions { @@ -165,4 +173,7 @@ dependencies { implementation "androidx.media3:media3-session:1.4.1" implementation "androidx.media3:media3-exoplayer:1.4.1" + + // Facebook + implementation "com.facebook.android:facebook-core:18.0.0" } diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 238397a..c970552 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -2,6 +2,13 @@ + + + + + + + @@ -43,13 +50,6 @@ - - - - - - - + + + + + + + + + + diff --git a/app/src/main/java/kr/co/vividnext/sodalive/app/SodaLiveApp.kt b/app/src/main/java/kr/co/vividnext/sodalive/app/SodaLiveApp.kt index 5adc6a5..2e7e12b 100644 --- a/app/src/main/java/kr/co/vividnext/sodalive/app/SodaLiveApp.kt +++ b/app/src/main/java/kr/co/vividnext/sodalive/app/SodaLiveApp.kt @@ -5,6 +5,7 @@ import android.content.pm.ApplicationInfo import android.content.pm.PackageManager import android.os.Build import androidx.appcompat.app.AppCompatDelegate +import com.facebook.FacebookSdk import com.orhanobut.logger.AndroidLogAdapter import com.orhanobut.logger.Logger import kr.co.vividnext.sodalive.BuildConfig @@ -29,6 +30,8 @@ class SodaLiveApp : Application() { SharedPreferenceManager.init(applicationContext) ImageLoaderProvider.init(applicationContext) + + FacebookSdk.fullyInitialize() } private fun isDebuggable(): Boolean {