Skip to content

Commit 0fe3a06

Browse files
committed
Fix Time and GSMClient integration issue in Core.
1 parent 9f264df commit 0fe3a06

33 files changed

Lines changed: 35 additions & 121 deletions

examples/Authentications/SignInAsGuest/AnonymousSignin/AnonymousSignin.ino

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
*
1111
*/
1212

13+
/*░D░O░ ░N░O░T░ ░U░S░E░ ░T░H░I░S░ ░I░N░ ░P░R░O░D░U░T░I░O░N░*/
14+
1315
/** This example will show how to authenticate as a anonymous user.
1416
*
1517
* You need to enable Anonymous provider.
@@ -113,6 +115,8 @@ void setup()
113115

114116
Serial.print("Sign up new user... ");
115117

118+
/*░D░O░ ░N░O░T░ ░U░S░E░ ░T░H░I░S░ ░I░N░ ░P░R░O░D░U░T░I░O░N░*/
119+
116120
/* Sign up */
117121
if (Firebase.signUp(&config, &auth, "", ""))
118122
{

library.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "Firebase ESP32 Client",
3-
"version": "4.4.8",
3+
"version": "4.4.10",
44
"keywords": "communication, REST, esp32, arduino",
55
"description": "The secure, fast and reliable Firebase Realtime database library to read, store, update, delete, listen, backup, and restore data. You can also read and modify the database security rules with this library.",
66
"repository": {

library.properties

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

3-
version=4.4.8
3+
version=4.4.10
44

55
author=Mobizt
66

src/FB_Const.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
#include "./core/Firebase_Client_Version.h"
2-
#if !FIREBASE_CLIENT_VERSION_CHECK(40408)
3-
#error "Mixed versions compilation."
4-
#endif
51

62
/**
73
* Created September 14, 2023

src/FB_Error.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
#include "./core/Firebase_Client_Version.h"
2-
#if !FIREBASE_CLIENT_VERSION_CHECK(40408)
3-
#error "Mixed versions compilation."
4-
#endif
51

62
/**
73
* Created September 5, 2023

src/FB_Network.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
#include "./core/Firebase_Client_Version.h"
2-
#if !FIREBASE_CLIENT_VERSION_CHECK(40408)
3-
#error "Mixed versions compilation."
4-
#endif
51

62
/**
73
* Created September 14, 2023

src/FB_Utils.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
#include "./core/Firebase_Client_Version.h"
2-
#if !FIREBASE_CLIENT_VERSION_CHECK(40408)
3-
#error "Mixed versions compilation."
4-
#endif
51

62
/**
73
*

src/Firebase.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
#include "./core/Firebase_Client_Version.h"
2-
#if !FIREBASE_CLIENT_VERSION_CHECK(40408)
3-
#error "Mixed versions compilation."
4-
#endif
51

62
/**
73
* The Firebase class, Firebase.cpp v1.2.8

src/Firebase.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11
#include "./core/Firebase_Client_Version.h"
2-
#if !FIREBASE_CLIENT_VERSION_CHECK(40408)
3-
#error "Mixed versions compilation."
4-
#endif
52

63
/**
74
* The Firebase class, Firebase.h v1.2.8

src/client/FB_TCP_Client.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
2-
* Firebase TCP Client v1.0.2
2+
* Firebase TCP Client v1.0.3
33
*
4-
* Created September 14, 2023
4+
* Created December 27, 2023
55
*
66
* The MIT License (MIT)
77
* Copyright (c) 2022 K. Suwatchai (Mobizt)
@@ -1007,6 +1007,7 @@ class Firebase_TCP_Client : public Client
10071007
timeinfo.tm_min = min3;
10081008
timeinfo.tm_sec = sec3;
10091009
time_t ts = mktime(&timeinfo);
1010+
ts -= timezone * 3600;
10101011
return ts;
10111012
}
10121013
}

0 commit comments

Comments
 (0)