-
Notifications
You must be signed in to change notification settings - Fork 1
[FEAT] 운세 생성 API 호출 시점 변경 #247
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
9d6b45a
[REFACTOR/#246] Fortune 관련 DataStore 상태 및 로직 리팩토링
DongChyeon 16f5dd7
[FEAT/#246] 오늘의 운세 발급 WorkManager 구현
DongChyeon 290f07a
[FEAT/#246] 알람이 울릴 때 FortuneTaskScheduler를 이용해서 오늘의 운세 발급 작업 예약
DongChyeon 35c402c
[FEAT/#246] Hilt 관련 의존성 추가
DongChyeon f57e976
[REMOVE/#246] 운세 확인 여부와 관계 없이 미션 화면으로 이동하도록 변경
DongChyeon 1240faf
[FEAT/#246] 오늘 울리는 첫 알람 해제 시에만 운세 노출
DongChyeon 9065182
[FEAT/#246] 알람의 미션 타입이 NONE이 아니라면 미션 화면으로 이동
DongChyeon 38ca81e
[FEAT/#246] 이미 생성 중이거나 확인하지 않은 운세가 있을 경우에만 운세 화면으로 이동
DongChyeon 955c93c
[REFACTOR/#246] 운세 데이터를 Flow로 관찰하도록 변경
DongChyeon 1957cbc
[REFACTOR/#246] `hasNewFortuneFlow`를 `shouldShowFortuneToolTipFlow`로 변경
DongChyeon ac3376d
[FEAT/#246] 운세 확인 안했을 때 알람 클릭 시 운세 화면으로 이동
DongChyeon ed02958
[FIX/#246] 오늘 운세 생성을 중복 요청하지 않도록 수정
DongChyeon b277849
[FEAT/#246] 알람 해제 시 isFirstToday 플래그를 Fortune 화면으로 전달하여 보상 여부 판단
DongChyeon 979670c
[REMOVE/#246] `hasTodayFortuneFlow` 삭제
DongChyeon d30beba
[FIX/#246] compileSdk를 android 블록으로 이동
DongChyeon 9ba43ed
[CHORE/#246] WorkManager 기본 초기화 비활성화
DongChyeon 8f482e5
[REFACTOR/#246] `AlarmInteractionActivityReceiver`에서 `goAsync`를 사용하여 …
DongChyeon 486302d
[CHORE/#246] WorkManager 테스트 의존성 분리
DongChyeon e155d60
[FIX/#246] `Alarm.ringsToday`로직 수정
DongChyeon 53dff08
[FIX/#246] DataStore에서 데이터를 읽어오지 못할 때 emptyPreferences()를 반환하도록 수정
DongChyeon ff346c1
[FIX/#246] 단발 알람을 해제했을 때도 비교군에 포함되도록 수정
DongChyeon abaa8ea
[FIX/#246] 알람 미션이 없을 때에도 shouldShowMissionStart가 true로 설정되는 버그 수정
DongChyeon 9cdb8ba
[REFACTOR/#246] 최초 알람 해제 시 운세 획득 여부를 `SavedStateHandle` 대신 `UserPrefe…
DongChyeon 4b6993a
[REMOVE/#246] UserPreferences, MissionViewModel 디버그 로그 제거
DongChyeon 0cdb890
[FIX/#246] 오늘의 운세가 존재하고, 툴팁이 보여지지 않았을 경우에만 툴팁을 노출하도록 조건 수정
DongChyeon fdd4fe2
[FIX/#246] 알람 해제 이벤트 로깅 시 earliestIdToday 사용
DongChyeon 3532b26
[FEAT/#246] 운세 생성 로딩 화면 로티 애니메이션 적용
DongChyeon 500862c
[REMOVE/#246] 사용하지 않는 `@Auth`, `@NoneAuth`, `@S3` Qualifier 제거
DongChyeon File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,13 +1,24 @@ | ||
| package com.yapp.orbit | ||
|
|
||
| import android.app.Application | ||
| import androidx.hilt.work.HiltWorkerFactory | ||
| import androidx.work.Configuration | ||
| import com.google.android.gms.ads.MobileAds | ||
| import dagger.hilt.android.HiltAndroidApp | ||
| import javax.inject.Inject | ||
|
|
||
| @HiltAndroidApp | ||
| class OrbitApplication : Application() { | ||
| class OrbitApplication() : Application(), Configuration.Provider { | ||
|
|
||
| @Inject lateinit var workerFactory: HiltWorkerFactory | ||
|
|
||
| override fun onCreate() { | ||
| super.onCreate() | ||
| MobileAds.initialize(this) | ||
| } | ||
|
|
||
| override val workManagerConfiguration: Configuration | ||
| get() = Configuration.Builder() | ||
| .setWorkerFactory(workerFactory) | ||
| .build() | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
core/alarm/src/main/java/com/yapp/alarm/scheduler/PostFortuneTaskScheduler.kt
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| package com.yapp.alarm.scheduler | ||
|
|
||
| interface PostFortuneTaskScheduler { | ||
| fun enqueueOnceForToday() | ||
| } | ||
DongChyeon marked this conversation as resolved.
Show resolved
Hide resolved
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.