You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Could you please help me to fix the below code, I need an event that should trigger when any child changes, Similar code works perfectly on the web app but when I am trying with Cordova android am getting an error Uncaught TypeError: firebaseThings.on is not a function
plugin I am using :https://www.npmjs.com/package/cordova-plugin-firebase
var firebaseThings = window.FirebaseDatabasePlugin.ref(value);
firebaseThings.on('child_changed', (snapshot) => {
console.log('user was changed !!') ;
if(snapshot.key=="offersdp")
{
alert(snapshot.value);
}
});
The text was updated successfully, but these errors were encountered:
Could you please help me to fix the below code, I need an event that should trigger when any child changes, Similar code works perfectly on the web app but when I am trying with Cordova android am getting an error Uncaught TypeError: firebaseThings.on is not a function
plugin I am using :https://www.npmjs.com/package/cordova-plugin-firebase
The text was updated successfully, but these errors were encountered: