firebase / snippets-android

Android snippets for firebase.google.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docs: Code snippet for City class does not match Java version

paulsmithkc opened this issue · comments

Environment details

Documentation on https://firebase.google.com/

Steps to reproduce

  1. Open the Add data to Cloud Firestore page in the docs.
  2. Compare the "Java" and "Java Android" code snippets under Custom objects
  3. Notice that there a significant inconsistencies, and that both versions only show part of the class.

External references such as API reference guides

Any additional information below

Related issue on Java snippet googleapis/java-firestore#876

See pull request #323

@paulsmithkc Thanks for bringing this up and putting together a PR.

I don't think they were ever meant to match, since those are 2 different SDKs: "Java Android" uses the Android Client SDK while "Java" uses the Java Admin SDK.