barisozgenn/YoutubeMusicClone-SwiftUI-UIKit

FireBase

Ayhanjibrae opened this issue · 6 comments

Hi, Everything Is Working in Your Application, Only Music Is Not Working Because You Did Not Give Firebase, Can You Give It Too

Hey bro, I have issue with googleservice-infor.plist, could u give me a guide

Hi guys,
To address this issue, I recommend setting up your individual Firebase storage. The process is quite straightforward; however, I regret that I cannot share my personal accounts for this purpose, as I want to avoid potential license issues "playing music etc.". You'll find numerous tutorials on YouTube that guide you through the steps of establishing Firebase and seamlessly integrating it with your projects in just a few minutes. You can initiate your search on YouTube by entering "swiftui firebase database" or "swiftui phone auth firebase".

Tks bro, so what I need to do is to set up firebase, and the firebase authentication app to the project, right?

Did you storage songs in your firebase db or get from api URL ?

Did you storage songs in your firebase db or get from api URL ?

Hi,

Thanks for reaching out! It sounds like you're on the right track. To integrate music into your app, you'll need to set up Firebase Realtime Database for storing the necessary data like song information and metadata. Additionally, for integrating Firebase Authentication, I used it to manage user authentication and access control.

Regarding the audio files, you have a couple of options. You can store the audio files directly in Firebase Storage and reference their URLs in the Realtime Database (Which I did by saving in Firebase storage). Alternatively, you can use API URLs to retrieve the audio files from external sources. The choice depends on your preference and the scale of your project.

Since your infrastructure is already in place, integrating the audio files and making them playable should be a relatively smooth process. Feel free to refer to one of my Netflix clone projects as a reference, as the principles of integrating and playing audio can be similar.

Good luck with your project!