Upload to firestore is not secure except admin-sdk.
I explained how to use admin-sdk to upload questions in secure.
Please follow the instructions step by step because you can't go back to the previous data
Find the script in folder uploaded from the Codecanyon.
The script is only designed for Quiz Mobile. Using for another app may face some problems.