Firebase sms auth Robots

110 views
Skip to first unread message

and...@kiddooapp.com

unread,
Aug 21, 2018, 1:56:07 PM8/21/18
to Firebase Google Group
Hi all,
I have an automation test that runs using the firebase sms login/auth, i have setup a dummy number and preset verification code, the only issue i have now is that the verify robot window appears after so many logins.
Obviously this is going to fail, i was wondering if it is possible to turn off the robot check when a testing number is entered? 

Thanks
Andrew.
Simulator Screen Shot - iPhone 8 - 2018-08-21 at 17.33.50.png

Bassam

unread,
Aug 21, 2018, 7:28:49 PM8/21/18
to Firebase Google Group
Hey Andrew,
For automation tests, you have set the appropriate flag. For example in web:
// Turn off phone auth app verification.
firebase
.auth().settings.appVerificationDisabledForTesting = true;



Best regards,
Bassam

and...@kiddooapp.com

unread,
Aug 22, 2018, 9:38:29 AM8/22/18
to Firebase Google Group
Thanks Bassam,
I will have to do that then, but my issue is that i would prefer to perform testing of my app without having to modify my binary. I would think it suits better practice to have the ability to set a test account which by-passes this, instead of programmatically having to turn on the toggle.
Reply all
Reply to author
Forward
0 new messages