-
Notifications
You must be signed in to change notification settings - Fork 0
[PC-1627] 알람 권한 티라미수 이하 버전 로직 수정 #203
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
Open
comst19
wants to merge
7
commits into
develop
Choose a base branch
from
fix/PC-1627
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+80
−19
Open
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
540056e
[PC-1627] 티라미수 이하 버전 알람 로직 수정, 권한 허용 팝업 전 이미 허용된 권한은 ui에 반영
comst19 3792dd9
[PC-1627] SettingScreen 에서도 티라미수 이하 버전 로직 수정
comst19 a299df3
[PC-1627] SettingScreen 에서도 티라미수 이하 버전 로직 수정
comst19 9ea910f
[PC-1627] 티라미수에서 알림 권한 변경 시 감지하도록 수정
comst19 686d2cc
[PC-1627] 티라미수 이상 버전에서 isNotificationGranted 확인 로직 변경
comst19 bdb9244
[PC-1627] 알림 권한 허용 여부는 런타임이 아닌 시스템에서 가져오도록 통일
comst19 5d96b9e
[PC-1627] 설정 보내는 로직 함수로 분리
comst19 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
Some comments aren't visible on the classic Files Changed page.
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Potential unintended auto-enable of push notifications.
This
LaunchedEffectautomatically callsonPushNotificationCheckedChange()when permission becomes granted and push notifications are disabled. This could cause issues:Consider tracking whether the user explicitly granted permission in this session vs. permission already being granted.
💡 Suggested approach
Track whether this is a fresh permission grant vs. pre-existing:
🤖 Prompt for AI Agents
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
알람 정책:
시스템 알림 권한을 다시 활성화한 경우, 사용자가 알림 수신 의사를 회복한 것으로 판단하여 앱 및 서버 푸시 설정을 자동으로
설정 화면의 토글은 실제 알림 수신 가능 상태를 나타냄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@comst19, 이해했습니다! 시스템 알림 권한을 다시 활성화하는 것을 사용자의 명시적인 알림 수신 의사로 간주하여 앱 및 서버 푸시 설정을 자동으로 활성화하는 정책이군요.
이 접근 방식은 사용자가 설정에서 시스템 권한을 다시 켜는 행동 자체를 "알림을 다시 받고 싶다"는 의사 표현으로 해석하는 것이라 합리적입니다. 명확한 설명 감사합니다!
✏️ Learnings added