How to allow app user to create custom datatypes?

Hi there, what's the best approach to allow my app users to create a Firebase datatype?

An example - my Firebase collection scheme includes the following:

  • Name - Text field

  • Photo - Image field

  • Birthdate - Data field

I want my users to add custom fields/data type by specifying the type of data like:

  • Website - text field

  • Score - number field

  • Category - dropdown field

And of course, I want to store those data-types in the Firebase document.

As each user may create different data-types, pre-defining a schema in Firebase is unpredictable, so it should be updated based on the user's inputs. Is that possible with FF?

3 replies