I am developing a wallpaper app where the contents are going to be high-res images made by my team not from the network. Images need to be displayed in the app. Users can scroll through all images; they can apply as wallpaper, download them, or select them as their favourite.
UI is ready. I am using Firebase for Authentication. I have worked with Firestore to add users to the database. Now I need to store those high-res images somewhere that I can get access to through the code.
Any suggestion that I can achieve this?
I am new to the backend. I have read the document related to Cloud Firestore and Cloud Storage on FlutterFire and some other articles related to uploading images in the cloud storage through the firebase console and still haven't got a solution!
Cloud Storage: store and serve user-generated content, such as photos and videos.
Does that mean cloud storage is only used for uploading images through the code inside the app and then being able to retrieve them?
CodePudding user response:
Cloud Storage is most commonly used for hosting user-generated content, such as when your users are submitting their own (candidate) wallpaper images.
If you yourself provide all the wallpaper images, you definitely can store them in Cloud Storage too, but I'd also consider storing them in Firebase Hosting, which has a much bigger content delivery network than Cloud Storage does.