Hey,
In my application, if the user logs in for the first time and chooses to log in using his phone number, after verifying his number he is navigated to a page where he should also add an email address.
On this page, I want to check his inputted email address against other email addresses that are already listed in the application to make sure it is not associated with another account.
I have created a custom function for this task which seems to be working as the tests were good. However, when I am in Run mode and trying to input an existing email address, it sometimes lets me pass through to the next page (which is not good) and sometimes it tells me that the email address is already associated with another account.