Closed casvanluijtelaar closed 3 years ago
Please ask if you have the question or problem instead of set this issue to bug.
The event type is issued by Google not the library.
There are only 5 events that are available from the RTDB stream i.e. put, patch, keep-alive, cancel and auth_revoked.
Please read this doc for reference.
Describe the bug No matter what action is taken on the realtime database when printing the
StreamData
dataType()
method it will always return "put"To Reproduce Steps to reproduce the behavior:
stream_callback
exampledata.eventType()
printExpected behavior It's very important to me to see a clear distinction between "put" and delete" events.
Screenshots If applicable, add screenshots to help explain your problem.
IDE and its version: