I made an android app, which uses firebase phone auth. As i mentioned in the title is it possible to run an apk on a emulator without allowing firebase phone auth to know that it is on an emulator as firebase phone auth dosent work on emulators
My emulator is appetize.io , a web based phone emulator
It's not possible, unless you have some very special emulator that can somehow operate as if it has a working phone number that can receive SMS messages. Typical emulators do not have this capability - only real devices can send and receive SMS that would be used to validate its working phone number.
I think if you use firebase-auth:20.0.0 or later (launched 2 days ago), or the Firebase BoM 26.0.0 or later then you should be able to use the reCAPTCHA flow of Android Phone Auth, which will work on emulators. Give that a shot and let me know how it goes :)
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.