Summary:
Two pronged approach to fixing the upcoming match notifications without icons:
Most immediate problem was a missing FLAG_IMMUTABLE on the webcast action intent.
But this also adds a default notification icon and color for FCM when FCM itself is showing the intent (e.g. due to an app crash from a missing pending intent 😉 )
Issues Reference:
Resolves #965
Test Plan:
Tested locally by sending myself a notification in my dev TBA Firebase instance. I was able to easily recreate the broken upcoming match notification and see the crash. Now it works!
Summary: Two pronged approach to fixing the upcoming match notifications without icons:
FLAG_IMMUTABLE
on the webcast action intent.Issues Reference: Resolves #965
Test Plan: Tested locally by sending myself a notification in my dev TBA Firebase instance. I was able to easily recreate the broken upcoming match notification and see the crash. Now it works!