Through this, I used the firebase database, first create a themes folder inside the database, and then add entries to this folder when the user creates a new theme.
Then you create a function in the application to retrieve all the records in this folder in the database.
Now you can allow the user to select an existing section from the database results, and then use it to call the subscription function.
Not a solid solution for everyone, but worked for me.
source share