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

Network [#34] 챌린지뷰 Realm 적용 / 번들 아이디 가져오기 시도 중 #38

Merged
merged 16 commits into from
May 28, 2024

Conversation

Zoe0929
Copy link
Member

@Zoe0929 Zoe0929 commented May 28, 2024

👾 작업 내용

중간 점검 차 한번 머지하고 가는 게 좋을 것 같아요 ~

  • Realm 패키지 추가 후 Realm과 Container를 통해 데이터 전송을 시도 중입니다.
  • 아마 이 방법이 잘못 된 것 같아서 대폭 수정 예정입니다 (수정 방법은 다시 이야기 드릴게요!)

🚀 PR Point

제발 번들아이디 가져오는 방법 🥲 알고 싶네요..
타겟 안에서 서버 통신 하는 게 아예 불가능 하거나 나쁜 방법은 아닌 것 같아서 시도 해볼 예정입니다
Realm 넣고 나서 플젝이 약간 개복치가 되어서.. 필요하다면 바로 삭제합시다.

✅ CheckList

  • 오류 없이 빌드되는지 확인
  • 로그용 print문 제거
  • 불필요한 주석 제거
  • 코드 컨벤션 확인

🔗 Issue

Resolved #34

@Zoe0929 Zoe0929 added 🐰지희 지희의 issue ✨FEAT 기능 구현 📡NETWORK API 작업 labels May 28, 2024
@Zoe0929 Zoe0929 requested a review from kim-seonwoo May 28, 2024 06:17
@Zoe0929 Zoe0929 self-assigned this May 28, 2024
@Zoe0929 Zoe0929 linked an issue May 28, 2024 that may be closed by this pull request
Copy link
Member

@kim-seonwoo kim-seonwoo left a comment

Choose a reason for hiding this comment

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

Realm... 네.. 고생이 많으십니다

Comment on lines +11 to +24
class MidnightTaskScheduler {
var timer: Timer?

init() {
BGTaskScheduler.shared.register(forTaskWithIdentifier: "com.example.app.refresh", using: nil) { task in
self.handleAppRefresh(task: task as! BGAppRefreshTask)
}
scheduleMidnightTask()
}

func scheduleMidnightTask() {
let request = BGAppRefreshTaskRequest(identifier: "com.example.app.refresh")
request.earliestBeginDate = nextMidnight() // 다음 자정에 실행되도록 설정

Copy link
Member

Choose a reason for hiding this comment

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

❓백그라운드 스케줄링 이군요..?

@Zoe0929 Zoe0929 merged commit 66bbf53 into develop May 28, 2024
@Zoe0929 Zoe0929 deleted the network/#34-challengeView branch June 19, 2024 02:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨FEAT 기능 구현 🐰지희 지희의 issue 📡NETWORK API 작업
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Network] 네트워크 연결 및 기능 추가 구현
2 participants