firebase-js-sdk icon indicating copy to clipboard operation
firebase-js-sdk copied to clipboard

console.log "heartbeats" is unnecessary

Open tzappia opened this issue 6 months ago • 18 comments

Operating System

macOS 14.6.1

Browser Version

Chrome/127.0.6533.120

Firebase SDK Version

10.13.0

Firebase SDK Product:

Auth, Firestore, Functions, Storage

Describe your project's tooling

Angular v18 app

Describe the problem

During initialization, an unhelpful console.log is repeated:

heartbeats undefined

Steps and code to reproduce issue

After initializing the app, initialize Firestore (for example)

    this.app = initializeApp({
      apiKey: environment.firebase.apiKey,
      authDomain: environment.firebase.authDomain,
      databaseURL: environment.firebase.databaseURL,
      projectId: environment.firebase.projectId,
      storageBucket: environment.firebase.storageBucket,
      messagingSenderId: environment.firebase.messagingSenderId,
      appId: environment.firebase.appId,
    });

    this.db = initializeFirestore(this.app, {
      ignoreUndefinedProperties: true,
    });

tzappia avatar Aug 17 '24 14:08 tzappia