-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to inject react native firebase ataptor? #45
Comments
Hey! That's an interesting problem. I never considered React Native but now it makes sense. It looks like React Native supports the |
@pie6k I've added experimental React Native adaptor #46 but can't build it as TypeScript detects a dozen of type errors in the Show errors
|
Ok, I've figured that they have buggy definitions, but I managed to disable those and released @pie6k could please test it and see if it works. It supposed to work out-of-the-box without injecting the adaptor. |
I'll try to play with it a bit later. I've also added a few comments to #46 that might simplify it a bit. |
I'm not sure what the state of React Native and Firebase is, but I can see that people use Firebase Web SDK. If someone needs React Native Firebase package adaptor, please open a new issue with more details about why an adaptor is needed. |
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 fromgoogle
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
https://rnfirebase.io/firestore/usage
The text was updated successfully, but these errors were encountered: