title: I can't read data from Transactions
body: <p>When send user data to firestore and login again the system not read this code , he join already to (if) after add data but return failed because I think firestore accept write only is there any solution?</p>
  
  <pre><code>if (snapshot.exists()) {
     return snapshot.getString("ID");
  }
  </code></pre>
  
  <p><em>Code</em></p>
  
  <pre><code>FirebaseFirestore firebaseFirestore = FirebaseFirestore.getInstance();
          DocumentReference documentReference = firebaseFirestore.collection("Players").document(saveSystem.LoadStringData("LoginType").equals("Facebook") ? "F" + saveSystem.LoadStringData("ID") : "G" + saveSystem.LoadStringData("ID"));
          firebaseFirestore.runTransaction(new Transaction.Function&lt;Object&gt;() {
              @Override
              public Object apply(Transaction transaction) throws FirebaseFirestoreException {
                  DocumentSnapshot snapshot = transaction.get(documentReference);
                  if (snapshot.exists()) {
                      return snapshot.getString("ID");
                  } else {
                      HashMap&lt;String, Object&gt; hashMap = new HashMap&lt;&gt;();
                      hashMap.put("ID", saveSystem.LoadStringData("ID"));
                      return hashMap;
                  }
              }
          }).addOnSuccessListener(new OnSuccessListener&lt;Object&gt;() {
              @Override
              public void onSuccess(Object aObject) {
                  Toast.makeText(Test.this, "" + aObject, Toast.LENGTH_SHORT).show();
              }
          }).addOnFailureListener(new OnFailureListener() {
              @Override
              public void onFailure(@NonNull Exception e) {
  
              }
          });
  </code></pre>
  
  <p>Sorry for simple English language.</p>