thomasgalliker / Plugin.FirebasePushNotifications

Receive and handle firebase push notifications in .NET MAUI apps
31 stars 3 forks source link

[Bug] MediaPicker.Default.CapturePhotoAsync instant crash linked to FirebasePushNotifications ? #11

Closed KaraVehizen closed 1 month ago

KaraVehizen commented 1 month ago

Description

I've been using Plugin.FirebasePushNotifications on my android/ios app. Trying to use Camera to take a photo, the application crashes instantly (even before camera starts), on the MediaPicker.Default.CapturePhotoAsync() call.

The crash occurs in the firebase processintent -> HandleNotificationOpened -> RaiseOrQueueEvent -> Enqueue -> WriteQueueFile error is Newtonsoft.Json.JsonSerializationException: 'Error getting value from 'Identifier' on 'Android.Content.Intent'.'

(see screenshot)

Screenshots

image

thomasgalliker commented 1 month ago

Very bad. I gonna look at this!

thomasgalliker commented 1 month ago

There will be a new pre-release available in a few minutes. Let me know if this solves the problem.