Skip to content

[firebase-database] unsubscribe from event not working #120

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
danouche93 opened this issue Aug 21, 2022 · 1 comment
Closed

[firebase-database] unsubscribe from event not working #120

danouche93 opened this issue Aug 21, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@danouche93
Copy link

Re-opening this issue #109 cause it isn't fixed yet
NativeScript CLI : 8.2.3
package.json

"@nativescript/firebase-core": "^2.2.8",
"@nativescript/firebase-crashlytics": "^2.2.8",
"@nativescript/firebase-database": "^2.2.8",
"@nativescript/firebase-messaging": "^2.2.8",
"@nativescript/firebase-messaging-core": "^2.2.8"

Describe the issue :
Calling off function to unsubscribe from event listener that listen to change from realtime database doesn't work.

It somehow has to do with __classPrivateFieldGet(this, _Query_handles, "f").has(callback) that seem to always return false.
@triniwiz @NathanWalker

@triniwiz triniwiz added the bug Something isn't working label Aug 21, 2022
triniwiz added a commit that referenced this issue Aug 21, 2022
triniwiz added a commit that referenced this issue Aug 27, 2022
…base unsubscribing & initial dynamicLink (#121)

* fix(messaging): emit on message if app was previously launched

* feat(admob): prep admob for independence

Admob isn't dependant on Firebase this starts the process of removal, we can remove it for v3 release of firebase.

fixes: #117
fixes: #116

* fix(database): #120

* fix(dynamicLinks): handle initial link
@danouche93
Copy link
Author

@triniwiz it still doesn't work.... should I open another ticket ??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants