diff --git a/.DS_Store b/.DS_Store
deleted file mode 100644
index 8897a387..00000000
Binary files a/.DS_Store and /dev/null differ
diff --git a/.gitignore b/.gitignore
index 24cfa792..cfc1364a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -42,6 +42,7 @@ captures/
# IntelliJ
*.iml
.idea/
+.idea/*
.idea/compiler.xml
.idea/misc.xml
.idea/workspace.xml
@@ -90,3 +91,8 @@ lint/generated/
lint/outputs/
lint/tmp/
# lint/reports/
+
+.DS_Store
+._.DS_Store
+**/.DS_Store
+**/._.DS_Store
\ No newline at end of file
diff --git a/.idea/compiler.xml b/.idea/compiler.xml
deleted file mode 100644
index b589d56e..00000000
--- a/.idea/compiler.xml
+++ /dev/null
@@ -1,6 +0,0 @@
-
-
-
-
-
-
\ No newline at end of file
diff --git a/.idea/misc.xml b/.idea/misc.xml
deleted file mode 100644
index 8978d23d..00000000
--- a/.idea/misc.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/app/.DS_Store b/app/.DS_Store
deleted file mode 100644
index 6bccae5c..00000000
Binary files a/app/.DS_Store and /dev/null differ
diff --git a/app/build.gradle b/app/build.gradle
deleted file mode 100644
index d4c7fffd..00000000
--- a/app/build.gradle
+++ /dev/null
@@ -1,133 +0,0 @@
-plugins {
- id 'com.android.application'
- id 'org.jetbrains.kotlin.android'
- id 'kotlin-parcelize'
- id 'com.google.gms.google-services'
- id 'com.google.firebase.crashlytics'
- id 'kotlin-android'
- id 'kotlin-kapt'
- id 'dagger.hilt.android.plugin'
-}
-
- Properties properties = new Properties()
- properties.load(project.rootProject.file('local.properties').newDataInputStream())
-
-
-android {
- namespace 'com.eatssu.android'
- compileSdk 34
-
- defaultConfig {
- applicationId "com.eatssu.android"
- minSdk 23
- targetSdk 34
- versionCode 17
- versionName "1.1.15"
-
-
- buildConfigField("String", "KAKAO_NATIVE_APP_KEY", "\"${properties.get('KAKAO_NATIVE_APP_KEY')}\"")
- manifestPlaceholders = [KAKAO_NATIVE_APP_KEY: properties.get('KAKAO_NATIVE_APP_KEY')]
-
- testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
- }
-
- buildFeatures {
- buildConfig = true
- viewBinding = true
- dataBinding = true
- }
-
- buildTypes {
- debug {
- buildConfigField("String", "BASE_URL", properties["DEV_BASE_URL"])
- }
- release {
- buildConfigField("String", "BASE_URL", properties["PROD_BASE_URL"])
-
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
- }
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_17
- targetCompatibility JavaVersion.VERSION_17
- }
- kotlinOptions {
- jvmTarget = '17'
- }
- splits {
- abi {
- enable true
- reset()
- universalApk true
- }
- }
- lint{
- abortOnError = false
- }
-}
-
-dependencies {
-
- implementation 'androidx.core:core-ktx:1.7.0'
- implementation 'androidx.appcompat:appcompat:1.6.1'
- implementation 'com.google.android.material:material:1.8.0'
- implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
- implementation 'com.jakewharton.threetenabp:threetenabp:1.4.4'
- implementation 'com.prolificinteractive:material-calendarview:1.4.3'
- implementation 'androidx.recyclerview:recyclerview:1.3.2'
- implementation 'com.google.android.datatransport:transport-runtime:3.1.2'
- testImplementation 'junit:junit:4.13.2'
- androidTestImplementation 'androidx.test.ext:junit:1.1.5'
- androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
- implementation 'androidx.activity:activity-ktx:1.8.2'
- implementation 'androidx.fragment:fragment-ktx:1.6.2'
- annotationProcessor 'com.android.databinding:compiler:3.1.4'
-
- //retrofit2 - 서버통신
- implementation 'com.squareup.retrofit2:retrofit:2.9.0'
- implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
- implementation 'com.google.code.gson:gson:2.10.1' // Gson
-
- //OkHttp: 통신 로그 확인하기 위함
- implementation 'com.squareup.okhttp3:okhttp:4.12.0' //포스팅 당시 4.9.0 버전 기준
- implementation 'com.squareup.okhttp3:logging-interceptor:4.12.0'
-
- //glide - 사진 업로드
- implementation 'com.github.bumptech.glide:glide:4.15.1'
- annotationProcessor 'com.github.bumptech.glide:compiler:4.12.0'
-
- //이미지 압축
- implementation 'id.zelory:compressor:3.0.1'
-
- //coroutines
- implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3'
- implementation "androidx.lifecycle:lifecycle-runtime-ktx:2.7.0"
- implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.3'
-
- // 카카오 로그인 모듈
- implementation "com.kakao.sdk:v2-user:2.8.6" // 카카오 로그인
-
- //hilt
- implementation 'com.google.dagger:hilt-android:2.50'
- kapt "com.google.dagger:hilt-android-compiler:2.50"
- annotationProcessor 'com.google.dagger:hilt-compiler:2.50'
-
- // viewmodel과 livedata
- implementation "androidx.lifecycle:lifecycle-viewmodel-ktx:2.7.0"
- implementation "androidx.lifecycle:lifecycle-livedata-ktx:2.7.0"
-
- //firebase
- implementation 'com.google.android.gms:play-services-base:18.0.1'
- implementation 'com.google.firebase:firebase-config-ktx:21.4.1'
- implementation platform('com.google.firebase:firebase-bom:32.2.2')
- implementation 'com.google.firebase:firebase-analytics-ktx'
- implementation 'com.google.firebase:firebase-crashlytics'
-
- //Timer
- implementation "com.jakewharton.timber:timber:5.0.1"
-}
-
-kapt {
- correctErrorTypes true
-}
diff --git a/app/build.gradle.kts b/app/build.gradle.kts
new file mode 100644
index 00000000..df9fbda4
--- /dev/null
+++ b/app/build.gradle.kts
@@ -0,0 +1,153 @@
+import java.util.Properties
+
+plugins {
+ id("com.android.application")
+ id("org.jetbrains.kotlin.android")
+ id("kotlin-parcelize")
+ id("com.google.gms.google-services")
+ id("com.google.firebase.crashlytics")
+ id("kotlin-android")
+ id("kotlin-kapt")
+ id("dagger.hilt.android.plugin")
+}
+
+android {
+ namespace = "com.eatssu.android"
+ compileSdk = 34
+
+ defaultConfig {
+ applicationId = "com.eatssu.android"
+ minSdk = 23
+ targetSdk = 34
+ versionCode = 19
+ versionName = "2.0.0"
+ testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
+ }
+
+ buildFeatures {
+ buildConfig = true
+ viewBinding = true
+ dataBinding = true
+ }
+
+ buildTypes {
+ release {
+ val p = Properties()
+ p.load(project.rootProject.file("local.properties").reader())
+
+ val baseUrl: String = p.getProperty("PROD_BASE_URL")
+ buildConfigField("String", "BASE_URL", baseUrl)
+
+ val kakaoKey: String = p.getProperty("KAKAO_NATIVE_APP_KEY")
+ buildConfigField("String", "KAKAO_NATIVE_APP_KEY", "\"$kakaoKey\"")
+ manifestPlaceholders["KAKAO_NATIVE_APP_KEY"] = kakaoKey
+
+ isMinifyEnabled = false
+ proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
+ var shrinkResources = false
+ var minifyEnabled = false
+ }
+
+ debug {
+// applicationIdSuffix = ".debug"
+ val p = Properties()
+ p.load(project.rootProject.file("local.properties").reader())
+
+ val baseUrl: String = p.getProperty("DEV_BASE_URL")
+ buildConfigField("String", "BASE_URL", baseUrl)
+
+ val kakaoKey: String = p.getProperty("KAKAO_NATIVE_APP_KEY")
+ buildConfigField("String", "KAKAO_NATIVE_APP_KEY", "\"$kakaoKey\"")
+ manifestPlaceholders["KAKAO_NATIVE_APP_KEY"] = kakaoKey
+ }
+ }
+
+ compileOptions {
+ sourceCompatibility = JavaVersion.VERSION_17
+ targetCompatibility = JavaVersion.VERSION_17
+ }
+
+ kotlinOptions {
+ jvmTarget = "17"
+ }
+
+ splits {
+ abi {
+ isEnable = true
+ reset()
+ isUniversalApk = true
+ }
+ }
+
+ lint {
+ abortOnError = false
+ }
+}
+
+dependencies {
+ implementation(libs.androidx.core.ktx)
+ implementation(libs.androidx.appcompat)
+ implementation(libs.material)
+ implementation(libs.constraintlayout)
+ implementation(libs.threetenabp)
+ implementation(libs.material.calendarview)
+ implementation(libs.recyclerview)
+ implementation(libs.transport.runtime)
+ implementation(libs.activity)
+ implementation(libs.fragment)
+ implementation(libs.androidx.activity)
+
+ // Testing libraries
+ testImplementation(libs.junit)
+ androidTestImplementation(libs.androidx.test.ext.junit)
+ androidTestImplementation(libs.espresso.core)
+
+ //retrofit2: 서버통신
+ implementation(libs.retrofit)
+ implementation(libs.converter.gson)
+
+ // Gson for JSON parsing
+ implementation(libs.gson)
+
+ //OkHttp: 통신 로그 확인하기 위함
+ implementation(libs.okhttp)
+ implementation(libs.okhttp.logging.interceptor)
+
+ //glide: 사진 업로드
+ implementation(libs.glide)
+ kapt(libs.glide.compiler)
+
+ //compressor: 이미지 압축
+ implementation(libs.compressor)
+
+ // Coroutines for concurrency
+ implementation(libs.coroutines)
+ implementation(libs.coroutines.core)
+ implementation(libs.lifecycle.runtime)
+
+ // Kakao login SDK
+ implementation(libs.kakao.login)
+
+ // Hilt for Dependency Injection
+ implementation(libs.hilt)
+ kapt(libs.hilt.compiler)
+
+ // ViewModel and LiveData
+ implementation(libs.lifecycle.viewmodel)
+ implementation(libs.lifecycle.livedata)
+
+ // Firebase
+ implementation(libs.play.services.base)
+ implementation(libs.firebase.config)
+ implementation(platform(libs.firebase.bom))
+ implementation(libs.firebase.analytics)
+ implementation(libs.firebase.crashlytics)
+
+
+ // Timber for logging
+ implementation(libs.timber)
+}
+
+kapt {
+ correctErrorTypes = true
+}
diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro
index b1da94d2..e9a2e346 100644
--- a/app/proguard-rules.pro
+++ b/app/proguard-rules.pro
@@ -1,6 +1,6 @@
# Add project specific ProGuard rules here.
# You can control the set of applied configuration files using the
-# proguardFiles setting in build.gradle.
+# proguardFiles setting in build.gradle.kts.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
diff --git a/app/release/.DS_Store b/app/release/.DS_Store
deleted file mode 100644
index 5008ddfc..00000000
Binary files a/app/release/.DS_Store and /dev/null differ
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 2a5adf18..4e1d08b2 100644
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -6,7 +6,7 @@
-
+
-
+
+
@@ -48,11 +54,7 @@
-
-
diff --git a/app/src/main/java/com/eatssu/android/base/BaseActivity.kt b/app/src/main/java/com/eatssu/android/base/BaseActivity.kt
index 4d7284e3..687db424 100644
--- a/app/src/main/java/com/eatssu/android/base/BaseActivity.kt
+++ b/app/src/main/java/com/eatssu/android/base/BaseActivity.kt
@@ -69,9 +69,9 @@ abstract class BaseActivity(
showForceUpdateDialog()
}
- if(versionViewModel.checkAndroidMessage().dialog) {
- showAndroidMessageDialog(versionViewModel.checkAndroidMessage().message)
- }
+// if(versionViewModel.checkAndroidMessage().dialog) {
+// showAndroidMessageDialog(versionViewModel.checkAndroidMessage().message)
+// }
_binding = bindingFactory(layoutInflater, findViewById(R.id.fl_content), true)
}
diff --git a/app/src/main/java/com/eatssu/android/data/dto/request/InquiriesRequest.kt b/app/src/main/java/com/eatssu/android/data/dto/request/InquiriesRequest.kt
deleted file mode 100644
index 23288a0e..00000000
--- a/app/src/main/java/com/eatssu/android/data/dto/request/InquiriesRequest.kt
+++ /dev/null
@@ -1,5 +0,0 @@
-package com.eatssu.android.data.dto.request
-
-data class InquiriesRequest(
- val content: String,
-)
diff --git a/app/src/main/java/com/eatssu/android/data/model/RestaurantInfo.kt b/app/src/main/java/com/eatssu/android/data/model/RestaurantInfo.kt
index bf2cbff8..f33d2bdb 100644
--- a/app/src/main/java/com/eatssu/android/data/model/RestaurantInfo.kt
+++ b/app/src/main/java/com/eatssu/android/data/model/RestaurantInfo.kt
@@ -1,8 +1,12 @@
package com.eatssu.android.data.model
+import com.eatssu.android.data.enums.Restaurant
+
data class RestaurantInfo(
+ val enum: Restaurant,
val name: String,
val location: String,
+ val photoUrl: String,
val time: String,
val etc: String,
)
\ No newline at end of file
diff --git a/app/src/main/java/com/eatssu/android/data/model/Section.kt b/app/src/main/java/com/eatssu/android/data/model/Section.kt
index 34c0443b..9234439d 100644
--- a/app/src/main/java/com/eatssu/android/data/model/Section.kt
+++ b/app/src/main/java/com/eatssu/android/data/model/Section.kt
@@ -7,5 +7,6 @@ data class Section(
val menuType: MenuType,
val cafeteria: Restaurant,
val menuList: List