Hi,

I have a Firebase node (group-location) for storing co-ordinates of groups 
that users create. I am using two devices to debug this problem. From one 
device I am deleting and replacing a group location geo entry in 
group-location and from the other device I am monitoring key_exited and 
key_entered events for that group (for a center and radius). It all works 
fine except in one situation.

   1. If an entry is deleted and immediately replaced in group-location 
   (from one device) then the key_exited and key_entered events monitoring the 
   group-location node (in the other device) don't fire 
   2. If I set a breakpoint after deleting the group-location entry in the 
   first device then the key_exited event in the other device fires and when I 
   continue code execution and the geo entry is replaced then the key_entered 
   event fires
   
It seems like if you delete a node and replace it right away then the 
key_exited and key_entered events don't seem to fire but if you set a 
breakpoint between the two events the events fire. Why is that and is that 
expected behavior? Please note that the replacing node is identical to the 
original node.

At this point the Ionic/Angular App is currently using an old version of 
angular.js (1.5.8).

Thanks for your thoughts.

Sanjay.

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to