react-native-firestack: Database ref.on does not work on Android
I have the same exact code on Android and iOS for observing value changes on my database. It works on iOS as expected but does not work on Android. I have placed my code below as a reference:
.ref("shifts")
.on('value', snapshot => {
console.log(snapshot)
})
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 16 (11 by maintainers)
Okay, good news and bad news!
Good: It’s fixed Bad: I pushed it to the
feature/messagingbranch. Can you pull and try it from that branch?