I am making a form app. Admin creates a form and then users can fill the form. Questions and answers are saved to Firebase Firestore. This is how my Firestore looks like. After users fill the form, I want to enable admin to download Excel file by pressing "Download" button. Excel file would contain picked form (I can access to form by formID) with all questions and answers of that form.
EDIT: If it's not possible to export in Excel, CSV would also be acceptable
Firebase doesn't provide a built-in option for this issue, you have to build this on your own by following these steps when the admin invokes the download button:
share
package to give the admin the option to view, save and share the extracted excel file from the above step. (optional)