Firebase for iOS: childByAutoId() overrides the same child every time
<p>I am working with Firebase for the second time now, but for the first with Firebase for iOS.(and with iOS in general)
So I am using childByAutoId() which should be like push() for Android, right? My code is:</p>

<pre><code>let quoteString = ["base64": base64String]
let refPhotos = refPlace.childByAppendingPath("Images")
let refBase54 = refPhotos.childByAutoId()
refBase54.setValue(quoteString)
</code></pre>

<p>But every time photo is saved in Firebase the previously saved photo (it is only one for now) gets overridden by the new one. The ID is changing and I can see that for a second Firebase is creating new child "Images" and the two photos are separately saved in two different Images children of Place. And then it is gone. </p>

<p>So am I missing something obvious or is this a bug or any other advise is very welcome.</p>

<p>Update:<br>
my json data</p>

<pre><code>"Places" : {
    "ChIJMaArcCHP5zsRKU_FpbNldp8" : {
      "Comments" : {
        "-K9xX2KBCiOZMthtbxSy" : "Foo"
     },
     "ID" : "ChIJMaArcCHP5zsRKU_FpbNldp8",
     "Images" : {
        "-K9xX2KUPSLGvFZpI-XL" : {
          "base64" : "very long"
          }
</code></pre>

<p>... and so on.
After exploring it a little - what can be seen in the moment of writing is both "Images" and "Comments" appear twice in red and green color(new is created, old is deleted). This is not the goal of childByAppendingPath(), right?</p>