thevinchi / firebase-titanium

Titanium Native iOS Module for Firebase
MIT License
22 stars 11 forks source link

Context Checking for `Firebase.off()` #2

Open thevinchi opened 9 years ago

thevinchi commented 9 years ago

Not currently making use of context. In the JS SDK, if there are multiple listeners with the same callback and the context is provided to off(), then the first callback with that context is the one removed.

Currently the code will remove the first callback whether or not the context matches.