Hey, Im kind of knew to this. I watched a tutorial on how to create lists and sync them to a specified user id using a Realtime Database from Firebase. However I ran into a problem when trying to create a player list. I had no issues saving the player’s first name, last name, and the name of their song file however I am having issues saving the actual file itself.
Here is the system, whenever the user clicks the add player button it syncs the songs in a list to allow the user to assign a song to their player when saving. The song name and song file already exist as they were saved in another screen. You can see in the create object block I was able to assign the player a first name, last name and walkUpName(name of the song file).
Here is an image of how everything is stored in the database, you can see each userid has a list of teams and songs, the song list contains all the info needed for the song file. But in the list of players the player “Kaila DeCarvalho” should have an additional property which is the file. I just need to find a way to fetch the file from the correct song in the list. I do have the name of the current selected song except its not the exact same as is it in the database as firebase doesn’t like periods so I created a system to change all “.” to “^”. So the “CurrentSongItem” variable should look like this - “Kaila DeCarvalho.mp3” and I need to fetch the file from the “Kaila DeCarvalho^mp3” object.
If this makes any sense or if this is sounds dumb just know I am pretty new to this all and any help would be greatly appreciated