Skip to content
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

Support for Firebase JS SDK 9 #219

Open
tu4mo opened this issue Jun 9, 2021 · 9 comments
Open

Support for Firebase JS SDK 9 #219

tu4mo opened this issue Jun 9, 2021 · 9 comments
Assignees

Comments

@tu4mo
Copy link

tu4mo commented Jun 9, 2021

Sorry for not using the template, I don't have a bug to report. Only curious if you have plans to support the new Firebase SDK?

@MichaelSolati
Copy link
Owner

MichaelSolati commented Jun 10, 2021

I haven't had time to keep up to date with firebase. I'd say yes though, I'm not even sure if there are compatibility issues, so I'll take some time over the next week to test and update the library to support v9.

Ok, it looks like SDK v9 isn't official yet and is still in beta. So I will add support for it when it launched, but unlikely before. There's some work on testing I'm going to focus on before that, though I'll keep the issue open until v9 lands.

@MichaelSolati
Copy link
Owner

So i've been super busy and haven't been able to get to this yet... If you're using the compat you can just ignore the typing error, but as for supporting modular I'll hopefully look at it over the holidays.

@spotvin42
Copy link

Hello, any news on supporting the Modular approach?

So i've been super busy and haven't been able to get to this yet... If you're using the compat you can just ignore the typing error, but as for supporting modular I'll hopefully look at it over the holidays.

@MichaelSolati
Copy link
Owner

Ok, so I've updated the lib to v5 which supports cloud and web compat (as they're basically the same). I'm currently working on the modular solution, but that will take some time and planning... It is coming though.

@pdandradeb
Copy link

pdandradeb commented Feb 25, 2022

In my case, the mobile clients only update their locations on firestore but don't query so I removed the client library and replaced the update with:

import { hash } from 'geokit';
await updateDoc(doc(firestore, 'collection', id), {
 coordinates: location,
  g: {
    geopoint: location,
    geohash: hash({
      lat: location.latitude,
      lng: location.longitude,
    }),
  }
});

@Spark-Cybel
Copy link

Hello, any update on supporting the Modular approach?

Ok, so I've updated the lib to v5 which supports cloud and web compat (as they're basically the same). I'm currently working on the modular solution, but that will take some time and planning... It is coming though.

@hschk
Copy link

hschk commented Feb 26, 2023

Hi,
Do you have any updates on supporting modular version of firebase?

@kimonneuhoff
Copy link

Can we help you with anything @MichaelSolati ?

@pikilon
Copy link

pikilon commented Jun 1, 2023

Hello I could help too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants