TobiasBuchholz/Plugin.Firebase

IWriteBatch.Update() does not support DateTimeOffset

Opened this issue · 0 comments

When calling Plugin.Firebase.Firestore IWriteBatch.UpdateData( IDocumentReference, Dictionary<object,object>), having a DateTimeOffset value in the Dictionary does not seem to be supported. The following exception is thrown:

System.ArgumentException: Do not know how to marshal object of type 'System.DateTimeOffset' to an NSObject

Am I doing something wrong, or does this functionality need to be added? Thanks in advance!