Android Oreo / Notification / FCM / Push / App Crash / System UI Crash

- 출처



- 문제 현상

When sending Push Notifications to devices on Android O when the app is in the background, the System UI crashes and gets stuck in an endless loop. The only way to fix it is to try and reboot it and sometimes it is corrupting the phone.

Lower versions of Android have no issues with foreground or background apps. Oreo devices work fine when the app is foregrounded.

- 해결책

I found the answer finally. You need to make sure that you are specifying a non-adaptive icon in the meta-data or else it crashes Android O devices.

This should be added to the documentation so that other people can avoid this problem, as I have been messing with it for some time now.

블로그 이미지


IT, Android, Java, Algorithm. Kotlin, Swift, iOS

티스토리 툴바