Introduction
Build Error Code E007 with the message
Could not set up Google Firebase with the credentials provided.
This indicates that the Firebase configuration files or server key used for push notifications are incorrect or mismatched. Follow the steps below to verify and, if necessary, regenerate your Firebase credentials so your build can complete successfully.
Verify Firebase Credentials
- In WordPress admin, go to BuddyBoss App > Configure > Google Firebase.
- Confirm the Server Key matches the one in Firebase Console > Project Settings > Cloud Messaging.
- Ensure the GoogleService-Info.plist (iOS) and google-services.json (Android) files are the correct files for this project and have been uploaded.
If the current configurations give you the same build error, recreate a new Server Key, PLIST and JSON files and reupload them to your BuddyBoss app.
Troubleshooting and FAQs
Q: Where can I find my Firebase Server Key?
A: In the Firebase console, go to Project Settings > Cloud Messaging, and look under the Server key section.
Q: My Server Key and files are correct but the error persists—why?
A: Clear any caching plugins or server caches. Ensure your Firebase project matches the package/bundle identifiers exactly.
Q: What if I lose my Firebase project?
A: You must recreate a Firebase project, configure the same package/bundle IDs, and update the keys and config files in BuddyBoss accordingly.