Newbie question on Firebase setup #89
Replies: 5 comments 2 replies
-
I'm excited to hear that you are interested in the app and are trying to build it yourself! First - I'll say that the current code on the As for your actual request - I suspect you are right that the app just isn't resiliient to issues with the database format. Without seeing the entire error that you saw it is a little hard to guess though. I'll also say the only functionality that we use in Firebase's realtime database is a set of our (KnightKrawler's) metrics from various years, and we haven't updated that in a while because overall usage of those was very very low (most teams preferred to make their own metrics). So you wouldn't be losing much if you ripped out the Firebase data entirely. I'd keep Firebase for crash reporting though! Here's an export of our database if you want to keep the functionality: frc-krawler-match_perf-export.json.zip. You should be able to import that into your Firebase instance and hopefully that will fix it 🤞 |
Beta Was this translation helpful? Give feedback.
-
Where did you put your google_services.json file? Have you made any other changes to the app? |
Beta Was this translation helpful? Give feedback.
-
Hmmmm, interesting. Definitely seems like Firebase isn't quite picking up the right configuration from your Inside that JSON file there should be a "client_info": {
"mobilesdk_app_id": "<snip>",
"android_client_info": {
"package_name": "com.frc_scouting_5013.development"
}
} |
Beta Was this translation helpful? Give feedback.
-
Yes, it is under FRC-Krawler/app/google-services.json There is nothing in the project. I can probably insert it as is.
|
Beta Was this translation helpful? Give feedback.
-
Ah interseting! I have a Maybe try this:
|
Beta Was this translation helpful? Give feedback.
-
I am trying to learn a little bit about app development and how this app works. I am with team 5013 and we have looked at your application for scouting. There was a few things we wanted to expand on potentially but I don't really recall what those things were but thought I would try getting things to run locally. I am a Database person really and this is somewhat new to me.
I got the application to build in Android Studio and deploy to the emulator. I did create my own Firebase project but I am getting an error around the Firebase database url. I figure that I am missing something on the deployment to firebase. Do you know what I might be missing? Maybe a script to create the DB structure in Firebase?
Thanks,
Melinda
Beta Was this translation helpful? Give feedback.
All reactions