Skip to content

Commit

Permalink
release/2.1.1 (#227)
Browse files Browse the repository at this point in the history
* Update release_tag.yml

* Update bug_report.md

* Production to develop (#213)

* release 1.1.15

* Release/2.0.0 (#209)

* [Refactor/#165] ๋ฌธ์˜ํ•˜๊ธฐ ๋ฆฌํŒฉํ† ๋ง (#189)

* refactor: inquire

* add: todo

* [Chore] migrate build.gradle.kts & lib.version.toml (#194)

* chore: migrate build.gradle.kts & lib.version.toml

* chore: toml use kebab-case

* [Fix/#141] remote config ENUM๊ฐ’ ์žˆ๋Š”๊ฑธ๋กœ ๊ต์ฒด (#193)

* fix: as Restaurant ํƒ€์ž… ์บ์ŠคํŒ… ์•ˆ๋˜๋Š” ์ค‘

* fix: conflict

* ds

* chore: add gitignore ".DS_Store"

* [Fix/#139] ๋ฆฌ๋ทฐ ์ˆ˜์ •์‹œ ์ •๋ณด๊ฐ€ ์•ˆ๋„˜์–ด๊ฐ€๋˜ ํ˜„์ƒ ๊ณ ์น˜๊ธฐ (#192)

* release 1.1.15

* fix: ๋ฆฌ๋ทฐ ์ˆ˜์ •ํ•˜๊ธฐ ์ •๋ณด ์•ˆ๋„˜์–ด๊ฐ€๋˜๊ฑฐ ์„ฑ๊ณต

* fix: ๋ง› ๋ณ„์ ์ด ์–‘ ๋ณ„์ ์œผ๋กœ ์ž˜๋ชป ๋“ค์–ด๊ฐ€๋Š”๊ฑฐ ์ˆ˜์ •

* fix: endpoint "s"

* [chore/#195] change new color scheme (#196)

* chore: change new color scheme

* chore: naming

* chore: naming lower

* chore: missing "1"

* chore: change missing color

* [Redesign] change home design (#198)

* redesign: calendar

* redesign: item_cafeteria_section.xml

* fix: top ์—ฌ๋ฐฑ์„ fragment์—์„œ item์œผ๋กœ ๋ณ€๊ฒฝ

* feat: ์žฅ์†Œ ๋ฐ”์ธ๋”ฉ

* chore: indicator width min

* add: ic good, bad

* Revert "add: ic good, bad"

This reverts commit f115b5f.

* Revert "chore: indicator width min"

This reverts commit afc2f16.

* [Feat] ํ˜„์žฌ ์‹œ๊ฐ„์— ๋”ฐ๋ฅธ ์•„์นจ/์ ์‹ฌ/์ €๋… ๊ตฌ๋ถ„ (#201)

* feat: TabLayout ์‹œ๊ฐ„๋Œ€ ์„ค์ •

* feat: TabLayout ์‹œ๊ฐ„๋Œ€ ์„ค์ •

* [Redesign/#203] my page ๋ฆฌ๋””์ž์ธ ์ ์šฉ (#204)

* redesign: ๋งˆ์ดํŽ˜์ด์ง€ UI ๋ณ€๊ฒฝ

* redesign: ๋‹‰๋„ค์ž„ ๋ณ€๊ฒฝ ๋””์ž์ธ ๋ณ€๊ฒฝ

* redesign: ๋‹‰๋„ค์ž„ ๋ณ€๊ฒฝ ๋””์ž์ธ ๋ณ€๊ฒฝ

* delete: ์•ˆ์“ฐ๋Š” drawable ์‚ญ์ œ

* add: ์ •๋ง ํƒˆํ‡ดํ•˜์‹œ๊ฒ ์Šต๋‹ˆ๊นŒ? ๋ทฐ

* feat: ๋‹‰๋„ค์ž„ ์„ค์ • ๋กœ์ง 3๊ฐœ ์™„๋ฃŒ

* feat: ์ •๋ง ํƒˆํ‡ดํ•˜์‹œ๊ฒ ์Šต๋‹ˆ๊นŒ?

* feat: ๋งŒ๋“  ์‚ฌ๋žŒ๋“ค

* [Redesign/#200] review๋ณด๊ธฐ ๋ฆฌ๋””์ž์ธ ์ ์šฉ (#202)

* resign: ์•ก์…˜๋ฐ” ์ƒ‰์ƒ ๋ณ€๊ฒฝ

* add: ๋ฆฌ์‚ฌ์ดํด๋Ÿฌ๋ทฐ ๋ฉ”๋‰ด ์•„์ดํ…œ ์ƒ์„ฑ

* chore: ํ”„๋กœ๊ทธ๋ž˜์Šค ๋ฐ” ๊ฐ„๊ฒฉ ๋งž์ถ”๊ธฐ

* chore: ๋ง›&์–‘ -> ๊ตฟ&๋ฐฐ๋“œ

* feat: ์นด๋“œ๋ทฐ๋กœ ์‚ฌ์ง„ ํ…Œ๋‘๋ฆฌ ๊ตฌํ˜„

* feat: ์นด๋“œ๋ทฐ๋กœ ์‚ฌ์ง„ ๋‘ฅ๊ทผํ…Œ๋‘๋ฆฌ ๊ตฌํ˜„

* feat: ๊ฐ„๊ฒฉ ๊ฐ’ ์กฐ์ •

* chore: gitignore ์ˆ˜์ •

* fix: ์‚ฌ์ง„ ์žˆ์„ ๋•Œ๋งŒ imageView&CardView ๋ณด์ด๊ฒŒ

* delete: ds_store

* fix: missing files

* chore: ๋ฐ” ์ถ”๊ฐ€

* chore: ๋ฆฌ๋ทฐ ์—†์„ ๋•Œ ๊ฐ„๊ฒฉ ์กฐ์ •

* chore: ์‹œ๊ฐ„ ๋Œ€ ์กฐ์ •

* [Redesign/#199] Info ๋ฆฌ๋””์ž์ธ ์ ์šฉ + bottomSheet๋กœ ๋ณ€๊ฒฝ (#205)

* redesign: info bottomsheet๋กœ ๋ณ€๊ฒฝ

* feat: ์‹๋‹น ์šด์˜์ •๋ณด ์‹ค์ œ ์ •๋ณด๋กœ ๋ฐ”์ธ๋”ฉ

* [Redesign] menus (#208)

* refactor: material menus๋กœ ์‹ ๊ณ /์ˆ˜์ •/์‚ญ์ œ ๋ถ„๋ฆฌ

* fix: ์‚ญ์ œ ์•ˆ๋˜๋Š”๊ฑฐ ์ˆ˜์ •

dialog import ์ˆ˜์ •, context๋ฅผ this๋กœ ์ˆ˜์ •

* fix: ๋ฆฌ๋ทฐ ์‚ญ์ œ ํ›„ ๋ฆฌ์ŠคํŠธ ์žฌ๋กœ๋”ฉ

* [Redesign/#206] report ๋ฆฌ๋””์ž์ธ ์ ์šฉ +๋ฌธ์˜ํ•˜๊ธฐ ์›น๋ทฐ์ฒ˜๋ฆฌ (#207)

* add: shape, selector ํŒŒ์ผ

* delete: ๋ฌธ์˜ํ•˜๊ธฐ ์นด์นด์˜ค์ฑ„๋„๋กœ ๋ณ€๊ฒฝ

* refactor: ์‹ ๊ณ ํ•˜๊ธฐ flow๋กœ ๋ฆฌํŒฉํ† ๋ง

* chore: ๋กœ๊ณ  ๋ณ€๊ฒฝ

* chore: ๋ฉ”๋‰ด์ด๋ฆ„ ์ž„์‹œ ๋ฐ”์ธ๋”ฉ

* chore: ๊ตฟ๋ฐฐ๋“œ ์ฃผ์„์ฒ˜๋ฆฌ

* chore: ๋ฆฌ๋ทฐ ์ž‘์„ฑ ์ž„์‹œ ์ฒ˜๋ฆฌ

* fix: ๋ฆฌ๋ทฐ ์‚ฌ์ง„ ์•ˆ๋ณด์ด๋Š”๊ฑฐ ํ•ด๊ฒฐ

* fix: ๋ฉ”๋‰ด์ด๋ฆ„ Text style

* fix: ์‹๋‹น ์‚ฌ์ง„ ๋˜‘๊ฐ™๊ฒŒ ๋“ค์–ด๊ฐ€๋˜๊ฑฐ ์ˆ˜์ •

* chore: ์ฒดํฌ๋ฐ•์Šค ์ƒ‰์ƒ ๋ณ€๊ฒฝ

* fix: ํ…์ŠคํŠธ ๋น„์ •์ƒ์ ์œผ๋กœ ์ž‘์€๊ฑฐ ํ•ด๊ฒฐ

* chore: tablayout indicator ์ˆ˜์ •

* fix: NPE ๋œจ๋Š” ๋ถ€๋ถ„ ์ฃผ์„์ฒ˜๋ฆฌ

* fix: ์‚ฌ์ง„์ด ์—†๋Š”๋ฐ ์ž๋ฆฌ ์ฐจ์ง€ ํ•˜๋˜๊ฑฐ ๊ณ ์นจ

* fix: ์•„์ด์ฝ˜ ์—†๋Œ€์„œ ๋‹ค์‹œ ๋˜๋Œ๋ฆผ

* Create qa_apk (#218)

* Rename qa_apk to qa_apk.yml

* feat: colored on today was not selected (#219)

* Update README.md

* Update README.md

* [Feat] Notification (#216)

* feat: test notify ์„ฑ๊ณต

* add: notify ์ž‘์—… ํŒŒ์ผ ์Šคํ…Œ์ด์ง•

* feat: workManager๋กœ ๊ตฌํ˜„

* chore: modify workManager

* modify: change workManager to AlarmManager

it working on api 28, but not working on api 33

* chore: notify on 11 am

* feat: save notification statue in datastore

* modify: change mypage design

* chore: modify layout

* chore: modify code

* chore: modify code

* delete: work manager

* chore: change alarm logo file to vector

* chore: move code loading app version

* chore: change padding

* chore: separate setting alarm code at UI

* chore: at 11

* [Redesign/login] ๋กœ๊ทธ์ธ ํ™”๋ฉด ๋ฆฌ๋””์ž์ธ ์ ์šฉ (#222)

* chore: delete firebase version

* chore: delete default splash (android 12)

* chore: set new splash

* redesign: login activity

* chore: delete unused logo files

* chore: dark mode

* [Refactor/remote config] ๋ฆฌ๋ชจํŠธ ์ปจํ”ผ๊ทธ ๊ด€๋ จ ๋กœ์ง ์ˆ˜์ • + info ๋ฒ„ํŠผ ํ„ฐ์น˜ ์˜์—ญ ํ™•๋Œ€ (#224)

* chore: change small size logo file

* delete: infoviewmodelfactory ์ œ๊ฑฐ

* chore: modify default config

* chore: modify real location data

* chore: more larger touch area(cafetria info btn)

* [Refactor/#167] Hilt๋ฅผ ํ†ตํ•ด ApplicationContext ์ฃผ์ž…ํ•˜๊ธฐ (#226)

* add: appContext to di

* chore: clean code

* release/2.1.1
  • Loading branch information
HI-JIN2 authored Oct 10, 2024
1 parent dc4e51d commit 75af5f9
Show file tree
Hide file tree
Showing 25 changed files with 158 additions and 330 deletions.
6 changes: 3 additions & 3 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ android {
applicationId = "com.eatssu.android"
minSdk = 23
targetSdk = 34
versionCode = 1
versionName = "2.1.0"

versionCode = 21
versionName = "2.1.1"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
}

Expand Down
13 changes: 3 additions & 10 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@
android:allowBackup="true"
android:dataExtractionRules="@xml/data_extraction_rules"
android:fullBackupContent="@xml/backup_rules"
android:icon="@drawable/img_logo1_44"
android:icon="@drawable/img_logo_512"
android:label="@string/app_name"
android:networkSecurityConfig="@xml/network_security_config"
android:requestLegacyExternalStorage="true"
android:roundIcon="@drawable/img_logo1_44"
android:roundIcon="@drawable/img_logo_512"
android:supportsRtl="true"
android:theme="@style/Theme.EatSSUAndroid"
android:usesCleartextTraffic="true"
Expand Down Expand Up @@ -151,14 +151,7 @@
android:name="android.app.lib_name"
android:value="" />
</activity>
<activity
android:name=".ui.info.InfoActivity"
android:exported="true"
android:theme="@style/Theme.MyDialog">
<meta-data
android:name="android.app.lib_name"
android:value="" />
</activity>

<activity
android:name=".ui.main.MainActivity"
android:exported="true">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@ package com.eatssu.android.data.repository

import com.eatssu.android.R
import com.eatssu.android.data.enums.Restaurant
import com.eatssu.android.data.model.AndroidMessage
import com.eatssu.android.data.model.RestaurantInfo
import com.google.firebase.remoteconfig.FirebaseRemoteConfig
import com.google.firebase.remoteconfig.FirebaseRemoteConfigSettings
import com.google.gson.Gson
import org.json.JSONArray
import timber.log.Timber

Expand Down Expand Up @@ -41,25 +39,25 @@ class FirebaseRemoteConfigRepository {
}
}

fun getAndroidMessage(): AndroidMessage {

// Gson์„ ์‚ฌ์šฉํ•˜์—ฌ JSON ๋ฌธ์ž์—ด์„ DTO๋กœ ํŒŒ์‹ฑ
val serverStatus: AndroidMessage = Gson().fromJson(instance.getString("android_message"), AndroidMessage::class.java)

// ํŒŒ์‹ฑ๋œ ๊ฒฐ๊ณผ ํ™•์ธ
println("Dialog: ${serverStatus.dialog}")
println("Message: ${serverStatus.message}")

return serverStatus
}

fun getForceUpdate(): Boolean {
return instance.getBoolean("force_update")
}

fun getAppVersion(): String {
return instance.getString("app_version")
}
// fun getAndroidMessage(): AndroidMessage {
//
// // Gson์„ ์‚ฌ์šฉํ•˜์—ฌ JSON ๋ฌธ์ž์—ด์„ DTO๋กœ ํŒŒ์‹ฑ
// val serverStatus: AndroidMessage = Gson().fromJson(instance.getString("android_message"), AndroidMessage::class.java)
//
// // ํŒŒ์‹ฑ๋œ ๊ฒฐ๊ณผ ํ™•์ธ
// println("Dialog: ${serverStatus.dialog}")
// println("Message: ${serverStatus.message}")
//
// return serverStatus
// }

// fun getForceUpdate(): Boolean {
// return instance.getBoolean("force_update")
// }
//
// fun getAppVersion(): String {
// return instance.getString("app_version")
// }

fun getVersionCode(): Long {
return instance.getLong("android_version_code")
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
package com.eatssu.android.data.usecase

import com.eatssu.android.App
import android.content.Context
import com.eatssu.android.util.MySharedPreferences
import dagger.hilt.android.qualifiers.ApplicationContext
import javax.inject.Inject

class GetAccessTokenUseCase @Inject constructor(
// private val preferencesRepository: PreferencesRepository,
@ApplicationContext private val context: Context
) {
suspend operator fun invoke(): String {

return MySharedPreferences.getAccessToken(App.appContext)
return MySharedPreferences.getAccessToken(context)
}
}
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
package com.eatssu.android.data.usecase

import com.eatssu.android.App
import android.content.Context
import com.eatssu.android.util.MySharedPreferences
import dagger.hilt.android.qualifiers.ApplicationContext
import javax.inject.Inject

class GetRefreshTokenUseCase @Inject constructor(
@ApplicationContext private val context: Context
// private val preferencesRepository: PreferencesRepository,
) {
suspend operator fun invoke(): String {

return MySharedPreferences.getRefreshToken(App.appContext)
return MySharedPreferences.getRefreshToken(context)
}
}
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
package com.eatssu.android.data.usecase

import com.eatssu.android.App
import android.content.Context
import com.eatssu.android.util.MySharedPreferences
import dagger.hilt.android.qualifiers.ApplicationContext
import javax.inject.Inject

class GetUserEmailUseCase @Inject constructor(
// private val preferencesRepository: PreferencesRepository,
@ApplicationContext private val context: Context
) {
suspend operator fun invoke(): String {

return MySharedPreferences.getUserEmail(App.appContext)
return MySharedPreferences.getUserEmail(context)
}
}
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
package com.eatssu.android.data.usecase

import com.eatssu.android.App
import android.content.Context
import com.eatssu.android.util.MySharedPreferences
import dagger.hilt.android.qualifiers.ApplicationContext
import javax.inject.Inject

class GetUserNameUseCase @Inject constructor(
// private val preferencesRepository: PreferencesRepository,
@ApplicationContext private val context: Context
) {
suspend operator fun invoke(): String {

return MySharedPreferences.getUserName(App.appContext)
return MySharedPreferences.getUserName(context)
}
}
Original file line number Diff line number Diff line change
@@ -1,14 +1,16 @@
package com.eatssu.android.data.usecase

import com.eatssu.android.App
import android.content.Context
import com.eatssu.android.util.MySharedPreferences
import dagger.hilt.android.qualifiers.ApplicationContext
import javax.inject.Inject

class LogoutUseCase @Inject constructor(
@ApplicationContext private val context: Context
) {
suspend operator fun invoke() {

MySharedPreferences.clearUser(App.appContext)
MySharedPreferences.clearUser(context)

}
}
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
package com.eatssu.android.data.usecase

import android.util.Log
import com.eatssu.android.App
import android.content.Context
import com.eatssu.android.util.MySharedPreferences
import dagger.hilt.android.qualifiers.ApplicationContext
import javax.inject.Inject

class SetAccessTokenUseCase @Inject constructor(
// private val preferencesRepository: PreferencesRepository,
@ApplicationContext private val context: Context
) {
suspend operator fun invoke(accessToken: String) {
MySharedPreferences.setAccessToken(App.appContext, accessToken)

Log.d("SetAccessTokenUseCase", accessToken)

MySharedPreferences.setAccessToken(context, accessToken)
}
}
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
package com.eatssu.android.data.usecase

import android.util.Log
import com.eatssu.android.App
import android.content.Context
import com.eatssu.android.util.MySharedPreferences
import dagger.hilt.android.qualifiers.ApplicationContext
import javax.inject.Inject

class SetRefreshTokenUseCase @Inject constructor(
// private val preferencesRepository: PreferencesRepository,
@ApplicationContext private val context: Context
) {
suspend operator fun invoke(refreshToken: String) {
MySharedPreferences.setRefreshToken(App.appContext, refreshToken)

Log.d("SetRefreshTokenUseCase", refreshToken)

MySharedPreferences.setRefreshToken(context, refreshToken)
}
}
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
package com.eatssu.android.data.usecase

import android.util.Log
import com.eatssu.android.App
import android.content.Context
import com.eatssu.android.util.MySharedPreferences
import dagger.hilt.android.qualifiers.ApplicationContext
import javax.inject.Inject

class SetUserEmailUseCase @Inject constructor(
@ApplicationContext private val context: Context
) {
suspend operator fun invoke(email: String) {
MySharedPreferences.setUserEmail(App.appContext, email)

Log.d("SetUserEmailUseCase", email)

MySharedPreferences.setUserEmail(context, email)
}
}
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
package com.eatssu.android.data.usecase

import com.eatssu.android.App
import android.content.Context
import com.eatssu.android.base.BaseResponse
import com.eatssu.android.data.dto.request.ChangeNicknameRequest
import com.eatssu.android.data.repository.UserRepository
import com.eatssu.android.util.MySharedPreferences
import dagger.hilt.android.qualifiers.ApplicationContext
import kotlinx.coroutines.flow.Flow
import javax.inject.Inject

class SetUserNameUseCase @Inject constructor(
private val userRepository: UserRepository,
@ApplicationContext private val context: Context
) {
suspend operator fun invoke(name: String): Flow<BaseResponse<Void>> {
MySharedPreferences.setUserName(App.appContext, name)
MySharedPreferences.setUserName(context, name)
//Todo ์ด๊ฒŒ ์ตœ์„ ์ผ๊นŒ? ๋กœ์ปฌ์— ์ด๋ฆ„ Set๊ณผ ๋ฆฌ๋ชจํŠธ์˜ ์ด๋ฆ„ change๋ฅผ usecase๋ฅผ ๋”ฐ๋กœ ๋งŒ๋“ค์–ด์•ผํ•˜๋‚˜?

return userRepository.updateUserName(ChangeNicknameRequest(name))
Expand Down
8 changes: 8 additions & 0 deletions app/src/main/java/com/eatssu/android/di/AppModule.kt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package com.eatssu.android.di

import android.app.Application
import android.content.Context
import com.eatssu.android.data.repository.FirebaseRemoteConfigRepository
import com.eatssu.android.data.repository.PreferencesRepository
import dagger.Module
import dagger.Provides
Expand All @@ -25,4 +26,11 @@ object AppModule {
fun providePreferencesRepository(@ApplicationContext context: Context): PreferencesRepository {
return PreferencesRepository(context)
}

@Provides
@Singleton
fun provideFirebaseRemoteConfigRepository(): FirebaseRemoteConfigRepository {
return FirebaseRemoteConfigRepository()
}

}
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
package com.eatssu.android.di.network


import android.content.Context
import android.content.Intent
import android.os.Handler
import android.os.Looper
import android.util.Log
import android.widget.Toast
import com.eatssu.android.App
import com.eatssu.android.BuildConfig.BASE_URL
import com.eatssu.android.base.BaseResponse
import com.eatssu.android.data.dto.response.TokenResponse
Expand All @@ -18,6 +17,7 @@ import com.eatssu.android.data.usecase.SetRefreshTokenUseCase
import com.eatssu.android.ui.login.LoginActivity
import com.google.gson.Gson
import com.google.gson.reflect.TypeToken
import dagger.hilt.android.qualifiers.ApplicationContext
import kotlinx.coroutines.runBlocking
import okhttp3.Interceptor
import okhttp3.Request
Expand All @@ -33,6 +33,7 @@ class TokenInterceptor @Inject constructor(
private val setAccessTokenUseCase: SetAccessTokenUseCase,
private val setRefreshTokenUseCase: SetRefreshTokenUseCase,
private val logoutUseCase: LogoutUseCase,
@ApplicationContext private val context: Context
) : Interceptor {

companion object {
Expand Down Expand Up @@ -68,7 +69,7 @@ class TokenInterceptor @Inject constructor(
val response = chain.proceed(request)

if (response.code == 401) {
Log.d(TAG, "ํ† ํฐ ํ‰คํ‰ค")
Timber.d("ํ† ํฐ ํ‰คํ‰ค")
response.close()

try {
Expand All @@ -78,13 +79,13 @@ class TokenInterceptor @Inject constructor(
.addHeader(HEADER_AUTHORIZATION, "Bearer $refreshToken")
.build()

Log.d(TAG, "์žฌ๋ฐœ๊ธ‰ ์ค‘")
Timber.d("์žฌ๋ฐœ๊ธ‰ ์ค‘")

val refreshTokenResponse = chain.proceed(refreshTokenRequest)
Log.d(TAG, "refreshTokenResponse : $refreshTokenResponse")
Timber.d("refreshTokenResponse : $refreshTokenResponse")

if (refreshTokenResponse.isSuccessful) {
Log.d(TAG, "์žฌ๋ฐœ๊ธ‰ ์„ฑ๊ณต")
Timber.d("์žฌ๋ฐœ๊ธ‰ ์„ฑ๊ณต")

val responseToken = parseRefreshTokenResponse(refreshTokenResponse)

Expand All @@ -110,7 +111,6 @@ class TokenInterceptor @Inject constructor(
Timber.e("์žฌ๋ฐœ๊ธ‰์—์„œ์˜ 401")

Handler(Looper.getMainLooper()).post {
val context = App.appContext
Toast.makeText(context, "ํ† ํฐ์ด ๋งŒ๋ฃŒ๋˜์–ด ๋กœ๊ทธ์•„์›ƒ ๋ฉ๋‹ˆ๋‹ค.", Toast.LENGTH_SHORT).show()
val intent = Intent(context, LoginActivity::class.java) // ๋กœ๊ทธ์ธ ํ™”๋ฉด์œผ๋กœ ์ด๋™
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK or Intent.FLAG_ACTIVITY_CLEAR_TASK)
Expand All @@ -123,7 +123,6 @@ class TokenInterceptor @Inject constructor(
Timber.e("์žฌ๋ฐœ๊ธ‰ ์‹คํŒจ $e")

Handler(Looper.getMainLooper()).post {
val context = App.appContext
Toast.makeText(context, "ํ† ํฐ์ด ๋งŒ๋ฃŒ๋˜์–ด ๋กœ๊ทธ์•„์›ƒ ๋ฉ๋‹ˆ๋‹ค.", Toast.LENGTH_SHORT).show()
val intent = Intent(context, LoginActivity::class.java) // ๋กœ๊ทธ์ธ ํ™”๋ฉด์œผ๋กœ ์ด๋™
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK or Intent.FLAG_ACTIVITY_CLEAR_TASK)
Expand All @@ -137,7 +136,6 @@ class TokenInterceptor @Inject constructor(
Timber.e("404 + ๋‹ค๋ฅธ ์œ ์ €!")

Handler(Looper.getMainLooper()).post {
val context = App.appContext
Toast.makeText(context, "ํ† ํฐ์ด ๋งŒ๋ฃŒ๋˜์–ด ๋กœ๊ทธ์•„์›ƒ ๋ฉ๋‹ˆ๋‹ค.", Toast.LENGTH_SHORT).show()
val intent = Intent(context, LoginActivity::class.java) // ๋กœ๊ทธ์ธ ํ™”๋ฉด์œผ๋กœ ์ด๋™
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK or Intent.FLAG_ACTIVITY_CLEAR_TASK)
Expand All @@ -150,7 +148,6 @@ class TokenInterceptor @Inject constructor(
Timber.e("500 + ๋‹ค๋ฅธ ์œ ์ €")

Handler(Looper.getMainLooper()).post {
val context = App.appContext
Toast.makeText(context, "ํ† ํฐ์ด ๋งŒ๋ฃŒ๋˜์–ด ๋กœ๊ทธ์•„์›ƒ ๋ฉ๋‹ˆ๋‹ค.", Toast.LENGTH_SHORT).show()
val intent = Intent(context, LoginActivity::class.java) // ๋กœ๊ทธ์ธ ํ™”๋ฉด์œผ๋กœ ์ด๋™
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK or Intent.FLAG_ACTIVITY_CLEAR_TASK)
Expand Down
Loading

0 comments on commit 75af5f9

Please sign in to comment.