You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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
The text was updated successfully, but these errors were encountered: