After successfully developing an app with Firebase's Real-time Database for the past month, I suddenly encountered an issue today. Despite the authentication features working seamlessly, my app is no longer able to retrieve data from Firebase.
It's crucial to note that no changes were made on my end during this time of functionality.
Even reverting back to previous versions revealed that they, too, are unable to establish a connection with the database. Has anyone experienced a similar problem before? If so, how did you go about resolving it?
Here's my code, which was functioning perfectly just moments ago:
var firebaseResponse = firebase.database().ref().orderByChild("country").equalTo(country)
fireBaseResponse.once('value').then(snapshot => {
snapshot.forEach(item => {
const temp = item.val();
data1.push(temp);
});