ios에 Splash image 하나를 추가했을 뿐인데 갑자기
아이폰에서 Splash Screen 에 멈춰서 아무 동작이 안되기 시작했다...
지난번에 이 오류를 고치지 못해서 꽤나 애먹었는데 해결책을 찾아 공유한다.
https://github.com/jonbhanson/flutter_native_splash/issues/577#issuecomment-1841518637
flutter iOS app is stuck on launchscreen when installed on real device · Issue #577 · jonbhanson/flutter_native_splash
Describe the bug I have this flutter app where I've set up a flutter_native_splash screen with the package that is named the same. I've used the command and the description from the installation gu...
github.com
Thanks a lot, https://github.com/gikwegbu !!
플러터 앱 실행이 잘 되다가 갑자기 iOS만 하얀 화면 혹은 스플래시 화면에 멈춰있는 경우,
token = await _firebaseMessaging.getToken();
이 녀석이 에러의 원인이었다.
ios 에서는 token이 아니라 APNS Token을 받아오는데 그걸 처리해주지 않아서 무한 로딩에 걸리는 것이다...
'Flutter' 카테고리의 다른 글
[Flutter] AndroidID 확인방법 / android SSAID 확인 방법 (2) | 2024.09.10 |
---|---|
[Flutter] iOS app badge count handle / iOS 배지 숫자 제어 (4) | 2024.08.30 |
[Flutter] SafeArea 배경색 칠하기 / safeArea background color (0) | 2024.08.05 |
[Flutter] asset/image 적용 안될때 해결책 (0) | 2024.07.31 |
[Flutter] InAppWebView 6.0 새 창 띄우기 / 뒤로 가기 구현 (2) | 2024.07.26 |