Skip to content

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

Description

@danouche93

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions