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

app.content.get do not response #160

Closed RonDaha closed 3 years ago

RonDaha commented 3 years ago

Hey, I wanted to start using your SDK (from the browser) but cannot seems to get it to work.

I initialized flamelink app just like you showed in your docs, when I try to - app.content.get({schemaKey: "someKey"}) it's just waiting forever, no error or any responses getting back. Also the network tab is clean seems that no HTTP request has been made at all. Any help here please

I am using the same firebase config credentials I use on the flamelink console. From package.json - flamelink": "^1.0.0-alpha.34

gitdubz commented 3 years ago

Hi @RonDaha

Could you kindly share some code to look at?

How you are initializing the flamelink SDK and also the code you are using to retrieve the data?

RonDaha commented 3 years ago

Hey @gitdubz Just needed to change the 'dbType' to 'cf' when initializing the flamelink app. So I managed to fixed this, but It could be easier if an error or anything will be appear and it won't be just stuck. Thank you