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을 받아오는데 그걸 처리해주지 않아서 무한 로딩에 걸리는 것이다...

 

 

+ Recent posts