Is it possible to add an extra parameter or data to createUserWithEmailAndPassword function?
I have two forms to signup: one for users and one for companies.
After creating the user an onCreate listener adds some additional information in the database. One thing I would like to add is a role (user or company). Therefore I'm looking for a way to add an extra variable to the createUserWithEmailAndPassword function that can get through to the onCreate listener.
Any Thoughts?