Describe the bug
Json stored in Plugin.LocalNotification.RETURN_REQUEST has Geofence.Center.Latitude set to "NaN" and cause error when trying to deserialize to NotificationRequest
To Reproduce
Steps to reproduce the behavior:
- Trigger notification without geofence feature
- Fetch the json by using Intent.Extras.GetString("Plugin.LocalNotification.RETURN_REQUEST") in MainActivity.OnCreate when the notification is tapped
- Deserialize it to NotificationRequest object
- throws error: android.runtime.JavaProxyThrowable: [System.Text.Json.JsonException]: The JSON value could not be converted to System.Double. Path: $.Geofence.Center.Latitude
Expected behavior
The json should be able to be deserialized to NotificationRequest in any settings
Screenshots
Platform (please complete the following information):
Android
Smartphone (please complete the following information):
Android
Additional context
Add any other context about the problem here.
Describe the bug
Json stored in Plugin.LocalNotification.RETURN_REQUEST has Geofence.Center.Latitude set to "NaN" and cause error when trying to deserialize to NotificationRequest
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The json should be able to be deserialized to NotificationRequest in any settings
Screenshots
Platform (please complete the following information):
Android
Smartphone (please complete the following information):
Android
Additional context
Add any other context about the problem here.