React-native-firebase: Reference.toJSON is not implemented

Created on 30 Sep 2018  路  3Comments  路  Source: invertase/react-native-firebase

Issue

Documentation lists a Reference.toJSON function, this function does not exist.

Environment

  1. Application Target Platform:
    Both

  2. Development Operating System:
    Ubuntu 18.04

  3. Build Tools:

  1. React Native version:
    0.56.0

  2. React Native Firebase Version:
    5.0.0

  3. Firebase Module:
    database

  4. Are you using typescript?
    no

General Needs Tests Bug Database

Most helpful comment

is this issue available/open? I'd like to take it up, if so

All 3 comments

is this issue available/open? I'd like to take it up, if so

@eragon512 it is, straightforward one also, it just needs to return the value of Reference.toString() to match the WEB SDK - see: https://github.com/firebase/firebase-js-sdk/blob/master/packages/database/src/api/Query.ts#L577

This has been implemented in #1595 thanks to @eragon512 馃帀

This matches the Firebase Web SDK exactly - as per the link above.


Loving react-native-firebase and the support we provide? Please consider supporting us with any of the below:

Was this page helpful?
0 / 5 - 0 ratings

Related issues

alizahid picture alizahid  路  3Comments

romreed picture romreed  路  3Comments

Draccan picture Draccan  路  3Comments

csumrell picture csumrell  路  3Comments

jgfidelis picture jgfidelis  路  3Comments