Skip to content

Commit 0a0ed24

Browse files
committed
Fix Realtime Database's RealtimeDatabaseResult conversion issue
1 parent f215332 commit 0a0ed24

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/mobizt/FirebaseClient/.github%2Fworkflows%2Fcompile_library.yml?logo=github&label=compile) [![Github Stars](https://img.shields.io/github/stars/mobizt/FirebaseClient?logo=github)](https://github.com/mobizt/FirebaseClient/stargazers) ![Github Issues](https://img.shields.io/github/issues/mobizt/FirebaseClient?logo=github)
44

5-
![GitHub Release](https://img.shields.io/github/v/release/mobizt/FirebaseClient) ![Arduino](https://img.shields.io/badge/Arduino-v2.0.2-57C207?logo=arduino) ![PlatformIO](https://badges.registry.platformio.org/packages/mobizt/library/FirebaseClient.svg) ![GitHub Release Date](https://img.shields.io/github/release-date/mobizt/FirebaseClient)
5+
![GitHub Release](https://img.shields.io/github/v/release/mobizt/FirebaseClient) ![Arduino](https://img.shields.io/badge/Arduino-v2.0.3-57C207?logo=arduino) ![PlatformIO](https://badges.registry.platformio.org/packages/mobizt/library/FirebaseClient.svg) ![GitHub Release Date](https://img.shields.io/github/release-date/mobizt/FirebaseClient)
66

77
Revision `2025-04-07`
88

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "FirebaseClient",
3-
"version": "2.0.2",
3+
"version": "2.0.3",
44
"keywords": "communication, REST, esp32, esp8266, arduino",
55
"description": "Async Firebase Client library for Arduino.",
66
"repository": {

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name=FirebaseClient
22

3-
version=2.0.2
3+
version=2.0.3
44

55
author=Mobizt
66

src/core/AsyncResult/AsyncResult.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ class AsyncResult PUBLIC_DATABASE_RESULT_BASE
286286
{
287287
data_log.read();
288288
static T o;
289-
#if defined(ENABLE_RTDB)
289+
#if defined(ENABLE_DATABASE)
290290
if (std::is_same<T, RealtimeDatabaseResult>::value)
291291
return rtdbResult;
292292
#endif

src/core/Core.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#undef FIREBASE_CLIENT_VERSION
88
#endif
99

10-
#define FIREBASE_CLIENT_VERSION "2.0.2"
10+
#define FIREBASE_CLIENT_VERSION "2.0.3"
1111

1212
static void sys_idle()
1313
{

src/core/FirebaseApp.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ namespace firebase_ns
645645

646646
if (parseToken(sData->response.val[resns::payload].c_str()))
647647
{
648-
#if defined(ENABLE_SERVICE_AUTH) && defined(ENABLE_CUSTOM_AUTH)
648+
#if defined(ENABLE_CUSTOM_AUTH)
649649
if (auth_data.user_auth.auth_type == auth_sa_custom_token && auth_data.app_token.val[app_tk_ns::uid].length() == 0) // store the custom UID if UID was not found in the response.
650650
auth_data.app_token.val[app_tk_ns::uid] = auth_data.user_auth.cust.val[cust_ns::uid];
651651
#endif
@@ -896,7 +896,7 @@ namespace firebase_ns
896896
auth_data.force_refresh = true;
897897
auth_timer.setInterval(0);
898898
}
899-
899+
900900
#if defined(ENABLE_JWT)
901901
/**
902902
* Set the JWT token processor object(DEPRECATED).

0 commit comments

Comments
 (0)