Skip to content
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

[FEAT] 알람 해제 후 미션 화면 연결 #119

Merged
merged 2 commits into from
Feb 13, 2025

Conversation

DongChyeon
Copy link
Member

Related issue 🛠

closed #117

어떤 변경사항이 있었나요?

  • 🐞 BugFix Something isn't working
  • 🎨 Design Markup & styling
  • 📃 Docs Documentation writing and editing (README.md, etc.)
  • ✨ Feature Feature
  • 🔨 Refactor Code refactoring
  • ⚙️ Setting Development environment setup
  • ✅ Test Test related (Junit, etc.)

CheckPoint ✅

PR이 다음 요구 사항을 충족하는지 확인하세요.

  • PR 컨벤션에 맞게 작성했습니다. (필수)
  • merge할 브랜치의 위치를 확인해 주세요(main❌/develop⭕) (필수)
  • Approve된 PR은 assigner가 머지하고, 수정 요청이 온 경우 수정 후 다시 push를 합니다. (필수)
  • BugFix의 경우, 버그의 원인을 파악하였습니다. (선택)

Work Description ✏️

default.mp4
  • 알람 해제 클릭 시 미션으로 이동

Uncompleted Tasks 😅

당일날 운세 안받았으면 미션으로 보내면 안돼요!

class AlarmInteractionActivityReceiver(private val activity: ComponentActivity) : BroadcastReceiver() {
    override fun onReceive(context: Context?, intent: Intent?) {
        Log.d("AlarmInteractionActivityReceiver", "알람 수신, AlarmAlertActivity 종료")
        if (intent?.action == AlarmConstants.ACTION_ALARM_INTERACTION_ACTIVITY_CLOSE) {
            activity.finish()
            context?.let {
                val missionIntent = Intent(Intent.ACTION_VIEW, Uri.parse("orbitapp://mission"))
                it.startActivity(missionIntent)
            }
        }
    }
}

여기서 분기처리해야돼요!

To Reviewers 📢

Copy link
Member

@MoonsuKang MoonsuKang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🥕🥕🥕🥕🥕🥕🥕

@DongChyeon
Copy link
Member Author

🥕🥕🥕🥕🥕🥕🥕

나를 떨어뜨린 당근 용서 못한다.

@DongChyeon DongChyeon merged commit 6935018 into develop Feb 13, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEAT] 알람 해제 후 미션 화면 연결
2 participants