Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESP-CAM_Firebase arguments problem #26

Open
MarcSmithThe15th opened this issue Nov 27, 2024 · 0 comments
Open

ESP-CAM_Firebase arguments problem #26

MarcSmithThe15th opened this issue Nov 27, 2024 · 0 comments

Comments

@MarcSmithThe15th
Copy link

Working on VSCode with PlatformIO. Added the library:
mobizt/Firebase ESP32 Client@^4.4.14

System: Windows 11, I don't think it matters.

Problem:
In the file ESP32-CAM_Firebase/ESP32-CAM_Firebase.ino, there is this line:
Firebase.begin(FIREBASE_HOST, FIREBASE_AUTH);

The problem is that FIREBASE_HOST and FIREBASE_AUTH were declared as Strings, but the .begin fuction needs theses types of arguments:
FirebaseConfig and FirebaseAuth
As per the Firebase.h:
void FIREBASE_CLASS::begin(FirebaseConfig *config, FirebaseAuth *auth)

Is the library to recent? Im kind of a beginner in this kind of programming, thanks for any help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant