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

[자주 발생하는 문제] FirebaseException ([firebase_messaging/apns-token-not-set] APNS token has not been set yet #55

Open
suojae opened this issue Aug 9, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@suojae
Copy link
Member

suojae commented Aug 9, 2024

문제 설명

image

Exception has occurred.
FirebaseException ([firebase_messaging/apns-token-not-set] APNS token has not been set yet. Please ensure the APNS token is available by calling `getAPNSToken()`.)

재현 방법

  1. 첫 클론 이후 VSCode에서 프로젝트 실행시 런타임 에러가 발생합니다.

예상되는 동작

  1. 안드로이드 스튜디오에서 실행하면 에러가 해결됩니다.
  2. VSCode일 경우에는 XCode Capability PushNotification과 Background를 추가해주면 해결됩니다.(https://stackoverflow.com/questions/77089496/flutter-apns-token-has-not-been-set-yet-please-ensure-the-apns-token-is-avail)

환경 정보

문제가 발생한 환경에 대한 정보:

  • 운영 체제: iOS
  • 기타 관련 환경 정보: VSCode IDE

추가 정보

@suojae suojae added the bug Something isn't working label Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant