react-redux-firebase: bug(react-native-firebase): enabling presence option throws exception "Invalid Firebase Database path"

What is the current behaviour? I setup react-redux-firebase along with react-native-firebase following the documentation. So far so good, but when I set the config option presence I get an error saying “Invalid Firebase Database path: //.info/ connected. Firebase Database paths must not contain ‘.’, ‘#’, ‘$’, ‘[’ or ‘]’”

When calling reactReduxFirebase I’m passing an instance of firebase initialised natively (no call to initializeApp)

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via codesandbox or similar.

  • Follow the installation steps
  • Make sure react-native-firebase is initialised natively
  • Enable presence option

What is the expected behavior? Presence and profiles will be sync’d without issues.

Which versions of dependencies, and which browser and OS are affected by this issue? Did this work in previous versions or setups?

  • react-native: 0.47.2
  • react-redux-firebase: canary
  • redux-saga: 0.15.6
  • redux-thunk: 2.2.0
  • react-native-firebase: next

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 17 (8 by maintainers)

Commits related to this issue

Most upvoted comments

@christophervalles Hmm… that is interesting. Let me continue to debug with that in mind.

@prescottprue I have the same issue, I enabled presence system in my config and I get an error : Invalid Firebase Database path: //.info/ connected. Firebase Database paths must not contain ‘.’, ‘#’, ‘$’, ‘[’ or ‘]’

Also when I call this resource by hand, I have no errors, like in this comment, so that’s not an issue with react-native-firebase I think?

I am using react-native-firebase@3.2.4 react-redux-firebase@2.0.3

@prescottprue v3.0.6 (latest release)

Oh, I see. I will open a ticket on their side too then.

Feel free to close this one unless you want to left it open to track any changes you do in regards to catching the error.

Cheers