mobizt / FirebaseClient

🔥Async Firebase Client for Arduino. Supports Realtime Database, Cloud Firestore Database, Firebase Storage, Cloud Messaging, Google Cloud Functions and Google Cloud Storage.
MIT License
136 stars 8 forks source link

boolean becomes int #32

Closed sudilacf closed 7 months ago

sudilacf commented 7 months ago

sir when I run this code Database.set<bool>(aClient, "/feed/now", false); my boolean value in rtdb becomes 0

mobizt commented 7 months ago

Thanks for reporting, I will check and update.

sudilacf commented 7 months ago

Thanks for reporting, I will check and update.

also how to determine if which path changed in stream? using this method if(RTDB.dataPath().equals("/feed/now")) doesnt work

mobizt commented 7 months ago

The library was updated.

For your question, I recommend you should read this Firebase Realtime database REST API doc.

If you test it with the nesting data, you will see the result and will get it more clearly by yourself.

sudilacf commented 7 months ago

okay, thanks for the fixes!

mobizt commented 7 months ago

If still don't get it, here is the statement in the doc that is related to your question.

The path key points to a location relative to the request URL.

sudilacf commented 7 months ago

Sir need help. When I use Database.set<>() my async callback doest send callback. The data node is under my stream.

mobizt commented 7 months ago

You should post in the discussion section instead,

I did not see your code and can't help anything.

Please make sure you read the documentation which frequently updates.

If you use ESP8266, this is what you should not do. https://github.com/mobizt/FirebaseClient/discussions/27

You should keep in mind that if you were me, can you answer such generic question with no introduction and detail.

mobizt commented 7 months ago

Next time, to post the issue, please don't ignore the issue template.

You should follow the issue template.