Currently, we send the detected events as metadata with the thumbnail. The problem is that the mobile app is not always able to fetch the thumbnail and its metadata due to OS limits on background work. In such a case, not only our notification to the user doesn't include the thumbnail, it also doesn't include the detected event (and just says "motion" was detected). We can however send the detected events in the initial FCM message, allowing the app to at least show the detected event in such a case.
Currently, we send the detected events as metadata with the thumbnail. The problem is that the mobile app is not always able to fetch the thumbnail and its metadata due to OS limits on background work. In such a case, not only our notification to the user doesn't include the thumbnail, it also doesn't include the detected event (and just says "motion" was detected). We can however send the detected events in the initial FCM message, allowing the app to at least show the detected event in such a case.