Skip to content

Is it possible to inject react native firebase ataptor? #45

@pie6k

Description

@pie6k

I've tried to check adaptor module, but it seems adaptors for browser and node are hardcoded there. Even if I can inject adaptor into node adaptor, the one from google is still imported there so I'd have to have it installed in my react native project.

React Native Firebase is trying to have the same JS API as browser one

import firestore from '@react-native-firebase/firestore';

// Get user document with an ID of ABC
const userDocument = firestore()
  .collection('Users')
  .doc('ABC');

https://rnfirebase.io/firestore/usage

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions