a property on a class what we'll map onto a firestore document.
[FirestoreData]
public class UserModel
{
[FirestoreProperty("userId")]
public long? UserId { get; set; }
}
the firestore document itself
version 1:
userId (number) = 123
or
version 2:
userId (null) = null
On Android the version 1 and 2 is binding very well onto the model, on iOS neither on version 1 or 2 a value is bound at all.
When I change the property from long? UserId to long UserId the value is bound well.
I suspect that the NSObject-netObect mapping is a problem here and I guess there is no way to fix that, right?
Given is
version 1:
or
version 2:
On Android the version 1 and 2 is binding very well onto the model, on iOS neither on version 1 or 2 a value is bound at all. When I change the property from
long? UserId
tolong UserId
the value is bound well.I suspect that the NSObject-netObect mapping is a problem here and I guess there is no way to fix that, right?
Thank you very much for all your work!!