mobizt / Firebase-ESP32

[DEPRECATED]🔥 Firebase RTDB Arduino Library for ESP32. The complete, fast, secured and reliable Firebase Arduino client library that supports CRUD (create, read, update, delete) and Stream operations.
MIT License
413 stars 119 forks source link

BUG Cloud_Messaging.ino Example #154

Closed Niassamond1 closed 3 years ago

Niassamond1 commented 3 years ago

I just updated the new version of the library, and my cloud messaging functions stopped working. Im currently using 3.8.20 Firebase ESP32 Client version. When i updated, i started fixing my old code(months old, dont know what library was used back then) i checked the examples and was able to fix everything in my code, except for the FCM. I checked the example, and programed my ESP32 with it, using my ssid, password, host, secret, key and token. other than that nothing was altered, and it has the same issue that my code: I get the notification in my app, but the notification is blank. No title, no body nothing, just a floating ballon. I also noted that the notification only comes when the app is opened, when its closed nothing arrives. I think the second problem that im getting no notifications when the app is closed might be due to the fact that the notification is completly empty. can someone help me with this issue? Thanks in advance!

mobizt commented 3 years ago

Thanks for report this bug.

I will fix it and update soon.

mobizt commented 3 years ago

The issue fixed and the library was updated to v3.8.22.

Please update.