-
I'm just starting with this library but get this error src/main.cpp:24:1: error: 'UserAuth' does not name a type; did you mean 'getAuth'? Here is the code: #include <Arduino.h> #include <FirebaseClient.h> void asyncCB(AsyncResult &aResult); FirebaseApp app; #if defined(ESP32) || defined(ESP8266) || defined(ARDUINO_RASPBERRY_PI_PICO_W) using AsyncClient = AsyncClientClass; AsyncClient aClient(ssl_client, getNetwork(network)); UserAuth user_auth(API_KEY, USER_EMAIL, USER_PWD); void setup() { void loop() { } void asyncCB(AsyncResult &aResult) printResult(aResult); void printResult(AsyncResult &aResult) if (aResult.isDebug()) if (aResult.isError()) if (aResult.available()) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
https://github.com/mobizt/FirebaseClient?tab=readme-ov-file#dependencies |
Beta Was this translation helpful? Give feedback.
-
I get this issue as well. In fact none of the examples work. I have the latest Arduino UI, I have istalled the latest esp32 libraries, but still does not work |
Beta Was this translation helpful? Give feedback.
The problem is your Arduino library installation which you installed the library in the wrong place and compiler cannot get access to it e.g. under any sandbox e.g. Microsoft OneDrive.
All Arduino libraries will not work.