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] Widget: 2x2 deeplink 위젯 #259

Open
2 of 4 tasks
isakatty opened this issue Apr 25, 2024 · 2 comments
Open
2 of 4 tasks

[Feat] Widget: 2x2 deeplink 위젯 #259

isakatty opened this issue Apr 25, 2024 · 2 comments
Assignees
Labels
✨ 기능추가 새로운 기능 추가
Milestone

Comments

@isakatty
Copy link
Contributor

isakatty commented Apr 25, 2024

설명

image 17

목표

  • Widget View 구성
  • UseCase 구성
  • Timeline 구성
  • useCase를 통해 들어오는 데이터 예외처리 + 예외처리 화면 구성

기타

#239 구현했었는데 브랜치 이상으로 일단 새이슈 + 새브랜치에서 작업하겠습니다.

@isakatty isakatty added the ✨ 기능추가 새로운 기능 추가 label Apr 25, 2024
@isakatty isakatty added this to the v1.3.0 milestone Apr 25, 2024
@isakatty isakatty self-assigned this Apr 25, 2024
isakatty added a commit that referenced this issue Apr 25, 2024
@isakatty
Copy link
Contributor Author

isakatty commented May 5, 2024

Widget 빌드 App 빌드
Simulator Screenshot - iPhone 15 Pro - 2024-05-05 at 16 33 1 Simulator Screenshot - iPhone 15 Pro - 2024-05-05 at 16 36 1

Widget을 타겟으로 빌드했을 때 위치 및 거리 확인 가능 -> App 빌드시, 기존의 location 받는거랑 충돌나는 듯?

NearByStopProvider에서 UseCase를 생성할 때, StationListRepository랑 locationService를 생성해서 넣어주고 있어서 생기는 문제라고 예상

// NearByStopProvider 파일
private let useCase = DefaultNearByStopUseCase(
        stationListRepository: DefaultStationListRepository(),
        locationService: DefaultLocationService()
    )

AppDelegate+Register 에서 생성된 것을 넣어줄 수 있게 변경하고 @injected로 useCase register 해주면,
undefined symbol: protocol descriptor for widget 에러 5개 존재
-> 해결 방법 찾아보고 있는 중

스크린샷 2024-05-05 오후 4 54 44

@isakatty
Copy link
Contributor Author

isakatty commented May 9, 2024

  1. UseCase를 생성해서 넣어주는 방향으로 정리
  2. App Delegate + Register에 위젯을 등록하는건 생태계 교란 행위

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ 기능추가 새로운 기능 추가
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant