简体   繁体   中英

Use Firebase Test Lab phone authentication with Firebase UI

My app uses firebase UI and the only sign-in method is through phone verification. I´m trying the Firebase Test lab but firebase UI does not expose the UI elements to enter the phone number and the verification code during the test. I recorded a script in Android studio and uploaded it but for some reason the test failed.

The only information I found about this topic is here but in that case, an email sign-in was used.

Firebase Test Lab can't do phone number authentication because the devices don't have SIM cards or any sort of cellular service. They only have wifi.

just do a master code on the server side on some phone number, for example: phone number: 055-5478-455 master code: 909090 and let google have these credentials, it will serve them like email+password auth.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM