react-native-instagram-clone icon indicating copy to clipboard operation
react-native-instagram-clone copied to clipboard

Error Get Story List Failed

Open kaybeeomm opened this issue 4 years ago • 6 comments

Screen Shot 2021-02-03 at 11 26 04 PM Thanks for sharing your code; really appreciate I was able to compile the code and run it but I'm getting the error in the attachment; it's not able to get the Story list and also getting error can get information. Could you please help out on why I'm getting those error? Note; I'm using the data from your database dump for firebase. Screen Shot 2021-02-03 at 11 08 11 PM Screen Shot 2021-02-03 at 11 09 38 PM

kaybeeomm avatar Feb 04 '21 07:02 kaybeeomm

Hi, You can log the error in catch of get post action to see the bug or show here

iamvucms avatar Feb 04 '21 12:02 iamvucms

Hello @iamvucms,

I am receiving the same issue as @kaybeeomm. When I imported your backup.json, it did not import any data for the firebase ("realtime") database. There is a function in the firebase database page to 'export json', and then we should be able to import that json. Could you do that for us?

johnathan-co avatar Feb 26 '21 17:02 johnathan-co

No It's just for importing firestore. not firebase realtime database

iamvucms avatar Feb 27 '21 04:02 iamvucms

Correct @iamvucms. Could you also export the json for the firebase realtime database for us?

johnathan-co avatar Feb 27 '21 04:02 johnathan-co

Hey @iamvucms

I am also facing the same problem as above, unable to fetch Post List and Story List, How can we configure firebase database for this project? we have to create new one and configure or are you providing it anywhere in repo?

vijayparmar123 avatar Sep 10 '21 04:09 vijayparmar123

This is can be easily fixed by adding an index in firebase for (stories and posts) and fields

userId Ascending, create_at Descending

hha00m avatar Jan 26 '22 20:01 hha00m