#Flutter - FCM: App Crashes when receiving Push Notification
8 messages Β· Page 1 of 1 (latest)
hey π,
whats the stacktrace for the crash?
Hello, thanks for the quick response.
Please, check my codes below.
main.dart
notification_service.dart
AndroidManifest.xml
Resource files for push notification icon
β― tree android/app/src/main/res/
android/app/src/main/res/
βββ drawable
βΒ Β βββ background.png
βΒ Β βββ ic_stat_notification.png
βΒ Β βββ launch_background.xml
βββ drawable-hdpi
βΒ Β βββ android12splash.png
βΒ Β βββ ic_stat_notification.png
βΒ Β βββ splash.png
βββ drawable-mdpi
βΒ Β βββ android12splash.png
βΒ Β βββ ic_stat_notification.png
βΒ Β βββ splash.png
βββ drawable-night-hdpi
βΒ Β βββ android12splash.png
βΒ Β βββ ic_stat_notification.png
βββ drawable-night-mdpi
βΒ Β βββ android12splash.png
βΒ Β βββ ic_stat_notification.png
βββ drawable-night-xhdpi
βΒ Β βββ android12splash.png
βΒ Β βββ ic_stat_notification.png
βββ drawable-night-xxhdpi
βΒ Β βββ android12splash.png
βΒ Β βββ ic_stat_notification.png
βββ drawable-night-xxxhdpi
βΒ Β βββ android12splash.png
βΒ Β βββ ic_stat_notification.png
βββ drawable-v21
βΒ Β βββ background.png
βΒ Β βββ launch_background.xml
βββ drawable-xhdpi
βΒ Β βββ android12splash.png
βΒ Β βββ ic_stat_notification.png
βΒ Β βββ splash.png
βββ drawable-xxhdpi
βΒ Β βββ android12splash.png
βΒ Β βββ ic_stat_notification.png
βΒ Β βββ splash.png
βββ drawable-xxxhdpi
βΒ Β βββ android12splash.png
βΒ Β βββ ic_stat_notification.png
βΒ Β βββ splash.png
βββ mipmap-hdpi
βΒ Β βββ ic_launcher.png
βΒ Β βββ launcher_icon.png
βββ mipmap-mdpi
βΒ Β βββ ic_launcher.png
βΒ Β βββ launcher_icon.png
βββ mipmap-xhdpi
βΒ Β βββ ic_launcher.png
βΒ Β βββ launcher_icon.png
βββ mipmap-xxhdpi
βΒ Β βββ ic_launcher.png
βΒ Β βββ launcher_icon.png
βββ mipmap-xxxhdpi
βΒ Β βββ ic_launcher.png
βΒ Β βββ launcher_icon.png
βββ raw
βΒ Β βββ keep.xml
βΒ Β βββ notification_sound.wav
βββ values
βΒ Β βββ styles.xml
βββ values-night
βΒ Β βββ styles.xml
βββ values-night-v31
βΒ Β βββ styles.xml
βββ values-v31
βββ styles.xml
23 directories, 46 files
Logs:
π Am experiencing the same bug
this doesn't really give the logs or any specific info of the ANR due to push notifications. Could be related to FCM and not Appwrite.
Duplicated issue of:
https://discord.com/channels/564160730845151244/1375440772974776423