Closed danouche93 closed 2 years ago
Thank you for releasing an update for this. Unfortunately I still have the issue :( @triniwiz
Can you send me some sample data
The object I sent to firebase is the value I get from my API. I've noticed it happens when the null value is in a list like :
var obj = { "list": [{ "propertyA": "valueA", "propertyB": null }, { "propertyA": "aaa", "propertyB": null }] }; firebase().database().ref(path).set(obj);
Hi, I use this new plugin of firebase because the old one is deprecated. Thank you for developing this ! I open this ticket because I have an issue when setting a value in Firebase Database. When the object I send has one or more properties that are null, I get the error
ERROR Error: Uncaught (in promise): Error: *** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[0]
and the object is not send. This issue only occurs in iOS. In Android it is working fine, whenever there are null properties, it is not sent to the database, it would be great to have the same behavior. I use NativeScript with Angular.Nativescript : 8.2.3 Package.json