Flutter Developer
Flutter - FCM: App Crashes when receiving Push Notification
Votes
0
Replies
6
Participants
Unknown
Messages
7
hey π,
whats the stacktrace for the crash?
Flutter Developer
Hello, thanks for the quick response.
Please, check my codes below.
main.dart
notification_service.dart
AndroidManifest.xml
Flutter Developer
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
Flutter Developer
Logs:
Flutter Developer
π 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.