Unable to retrieve data in firebase real time database in nativescript-angular


#1

https://stackoverflow.com/questions/44443840/unable-to-retrieve-data-in-firebase-real-time-database-in-nativescript-angular

Can somebody please help me with these.


#2

have you set your database permissions properly, so that you can read data if not authenticated?


#3

yes…
here are my rules.
I think a problem is in getting data as js[] array is empty.
{
“rules”: {
".read": “true”,
".write": “true”
}
}


#4

I think now data is retrieving, as I can see it in console. however, it is still not showing in list view.


#5

I feel like your bindings may be wrong on the listview. It’s a little concerning also that your data is nested - Firebase generally discourages that.

You can see an example of using firebase data in a listview on one of my repos: github.com/jlooper/practicebuddy