flamelink / flamelink-js-sdk

🦊 Official Flamelink JavaScript SDK for both the Firebase Realtime database and Cloud Firestore
https://flamelink.github.io/flamelink-js-sdk
MIT License
43 stars 5 forks source link

Question re: Supported Firebase versions #205

Open jambrose42 opened 2 years ago

jambrose42 commented 2 years ago

I'm test driving Flamelink, and really like what I see so far. However, I'm concerned that this project is no longer in active development. I'm happy to be a paying customer, but I can't afford to use an supported product for my project.

The SDK package itself has dependency firebase-tools 8.4.3, and the current version is 11.8.0. It's not clear what version of Firebase (currently 9.9.3) and AngularFire (currently 7.4.1) is supported in the Flamelink SDK.

The example packages are a great idea, but they are quite old, last updated 2 years ago:

"@angular/fire": "^5.2.1",
"firebase": "^6.4.0",

Using the angular-basic example, I am stuck implementing the flamelink.service from the angular-basic example.

The example has this in the imports:

import * as firebase from "firebase/app";

But, the constructor is looking for firebase.app.App, which is not a thing anymore:

codescreenshot
gitdubz commented 2 years ago

Hi @jambrose42,

The Flamelink SDK does not support modular version of the Firebase SDK. You can have a look at it here https://github.com/flamelink/flamelink-js-sdk/issues/172

If the version of AngularFire requires modular support version of the Firebase SDK and does not support the compat mode then you will need to use the Firebase SDK directly which means you won't have the support of the Flamelink SDK methods.

There is a community created package called ng-flamelink that you can checl out that might help?