Skip to content

v3 enable database logging? #525

@minusoneman

Description

@minusoneman

Issue

I'm trying to debug some listener (on/off) issues with react-redux-firebase, and would like to see firebase database debug output in the console.

In v2 a

{ debug: true } 

parameter could be sent to RNFirebase.initializeApp, but since there is no longer a need to initialize the app, where would be the appropriate place to enable console logging?

firebase.database.enableLogging(true);

is a Web SDK function, so that doesn't work either.

Could I enable debug logging in the Android SDK (like persistence), and read the output directly from the android logs?

Thanks!

Environment

  1. Application Target Platform:
    Both
  1. Development Operating System:

Linux

  1. Build Tools:
  1. React Native version:

0.43.9

  1. RNFirebase Version:
    3.0.0
  1. Firebase Module:
    database

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions