[Flutter 오류 모음] FIRMessaging Remote Notifications proxy enabled 해결법

몽상가·2022년 9월 11일
0

Flutter Error Collector

목록 보기
2/5
post-thumbnail

🌱 오늘 만난 문제아

'FIRMessaging Remote Notifications proxy enabled, will swizzle remote notification receiver handlers. If you'd prefer to manually integrate Firebase Messaging, add "FirebaseAppDelegateProxyEnabled" to your Info.plist, and set it to NO.'

바로 이 녀석이다.
지금 만들고 있는 앱에 FCM(Firebase Cloud Messaging) 기능을 추가해서 생긴 문제같다.

대충 해석해보면(with Papago)

'원격 알림 프록시를 활성화하면 원격 알림 수신기 핸들러가 스윕됩니다. Firebase Messaging을 수동으로 통합하려면 Info.plist에 "FirebaseAppDelegateProxyEnabled"를 추가하고 "아니오"로 설정하십시오'

그러니까 Info.plist"FirebaseAppDelegateProxyEnabled"를 추가하고 "아니오"로 설정하면 된다는 거지?!

👊 바로 해결 START

  1. Xcode를 켜고 Runner -> Info에 들어간다.

  1. Infomation property List 옆에 + 버튼을 눌러준다.

  1. Key name에 FirebaseAppDelegateProxyEnabled 를 입력하고 Type은 Boolean, Value는 0(=NO)로 설정해준다.

  1. 안드로이드 스튜디오로 돌아가 재빌드를 하면?!

🎉 빌드성공~

모든 문제가 깔끔하게 사라졌다!
행복 멀리있는 거 아닙니다. 이게 행복이지.

profile
늘 꿈꾸는 사람

0개의 댓글