Skip to content

Conversation

@wonyong-park
Copy link
Member

v1.0.6 Crashlytics 이슈 대응

v1.0.6에서 오류가 발생하여 Crashlytics로 수집된 크래시/에러를 수정한 PR입니다.

수정한 오류

  • ProfileCropButton
    • Bad state: Cannot use "ref" after the widget was disposed.
  • FeedContentView
    • Null check operator used on a null value. Error thrown
  • UploadImageProvider
    • PlatformException(already_active, Image picker is already active, null, null)

- 비동기 함수 호출 전 ref를 사용하여 notifier를 선언하는 방식으로 변경
- `Bad state: Cannot use "ref" after the widget was disposed.` 에러 방지
- 작성자 정보(`feed.author`)가 없을 경우 프로필 이동 `onTap` 이벤트를 비활성화하도록 개선하여 null 참조 오류 방지
- `Null check operator used on a null value. Error thrown .` 에러 방지
- `isPicking` 상태를 추가하여 이미지 선택 중복 실행 방지
- `PlatformException(already_active, Image picker is already active, null, null)` 오류 방지
@gemini-code-assist
Copy link

Summary of Changes

Hello @wonyong-park, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

이 PR은 v1.0.6 버전에서 Crashlytics를 통해 보고된 주요 크래시 및 오류들을 해결하여 애플리케이션의 안정성을 향상시키는 것을 목표로 합니다. 사용자 경험에 영향을 미치던 특정 시나리오에서의 널 참조 오류와 위젯 상태 관리 문제를 개선했습니다.

Highlights

  • ProfileCropButton 오류 수정: ProfileCropButton 위젯에서 발생하던 "Bad state: Cannot use "ref" after the widget was disposed." 오류를 수정했습니다. 이는 ref.read 호출을 최적화하고 cropImage가 null일 경우를 처리하여 해결되었습니다.
  • FeedContentView 널 참조 오류 수정: FeedContentView에서 feed.author가 null일 때 발생하던 "Null check operator used on a null value." 오류를 수정했습니다. feed.author에 대한 널 검사를 추가하여 안전하게 처리하도록 변경했습니다.
  • UploadImageProvider 동시성 오류 수정: UploadImageProvider에서 이미지 피커가 동시에 여러 번 호출될 때 발생하던 "PlatformException(already_active, Image picker is already active, null, null)" 오류를 해결했습니다. isPicking 상태를 도입하여 이미지 피커의 동시 실행을 방지했습니다.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

v1.0.6에서 발생한 Crashlytics 오류들을 수정하는 PR을 리뷰했습니다. FeedContentView의 null 참조 오류, UploadImageProvider의 이미지 피커 중복 실행 오류, ProfileCropButton의 위젯 dispose 이후 ref 사용 오류에 대한 수정 사항들을 확인했습니다. 전반적으로 각 문제에 대해 정확하고 안정적인 방식으로 수정이 이루어졌습니다. 코드의 안정성을 더욱 높이기 위해 ProfileCropButtononTap 핸들러에 이미지 업로드 중복 실행을 방지하는 로직을 추가하는 것을 제안합니다.

@wonyong-park wonyong-park requested a review from MTtankkeo January 6, 2026 07:43
@MTtankkeo MTtankkeo merged commit 8d44636 into main Jan 6, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants