Enable Fingerprint, Smart Lock, and Trust Agents in emulated devices #59
-
Hey dev team, I work on testing a Mobile Device Management (MDM) solution for Android devices, and one of the initiatives is to control device policies and settings. In order to test this, we need to be able to validate that the MDM is properly controlling most/all Android settings (i.e. the settings in the com.android.settings app). We have been doing this through emulated devices in Android Studio AVD, but have been experiencing flakiness and slow performance with that solution, so we purchased a Genymotion Desktop license, which appears to be much more stable and consistent. However, when we went in to look at the following settings, they were not available at all:
Is there any particular reason that your solution could not support these, just as Android's AVD does? I'm sure there are many others that we haven't encountered yet that will be missing, so more generally, is there any pushback to supporting most/all of these settings as they work in Android AVD emulators? Thank you for your consideration! Brandon |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Hi Brandon, Thanks a lot for your interest in Genymotion, your inputs and feedbacks are really valuable. First, let me say that bringing new features on all our supported Android versions and making them work in all flavors of Genymotion is really a tough challenge. Also, some features need additional design to ensure they are available in a way that makes sense in an Android emulator. However, I can tell you that fingerprint support is in our roadmap. We are doing our best to have it released by the end of the year. Regarding Smart lock and Trust agents, those feature require the Google Play Services, and they are not available in the AOSP. You can try the following and see if it suits your needs:
screencast-Genymotion-2023-06-26_10.04.05.299.mp4I hope this will help you moving forward with Genymotion. Don't hesitate if you have further details about your use case. Best regards, |
Beta Was this translation helpful? Give feedback.
-
Hello, thank you for your response.
“First, let me say that bringing new features on all our supported Android versions and making them work in all flavors of Genymotion is really a tough challenge. Also, some features need additional design to ensure they are available in a way that makes sense in an Android emulator.”
Trust me, I completely understand. We’ve spent many days sorting through the differences between each android version, and each os image within those versions as well.
“Regarding Smart lock and Trust agents, those feature require the Google Play Services, and they are not available in the AOSP”
Alright that makes sense, so you’re using a custom os image without Google Play services enabled then. I will attempt to add it after the device boots, but ultimately if this could be set programmatically (either through adb/gmtool/etc.) that would be optimal, since we’re implementing fully-automated tests.
Fingerprint support will be excellent. We are currently able to set fingerprints through adb (“emu finger touch xyz”) so if this (or with gmtool) is still possible with your approach that would be appreciated.
Overall, we are very much enjoying your Desktop solution over the Android Studio AVD from a stability perspective. We are seeing far fewer phone crashes/freezes, and our automation scripts are running much smoother with your solution.
Thank you for your information!
|
Beta Was this translation helpful? Give feedback.
-
Regarding the fingerprint, Desktop 3.6 released today brings a new Biometrics widget, you can see a quick demo on our blog post https://www.genymotion.com/blog/genymotion-desktop-3-6/ Don't hesitate to give us feedbacks ;) |
Beta Was this translation helpful? Give feedback.
Hi Brandon,
Thanks a lot for your interest in Genymotion, your inputs and feedbacks are really valuable.
First, let me say that bringing new features on all our supported Android versions and making them work in all flavors of Genymotion is really a tough challenge. Also, some features need additional design to ensure they are available in a way that makes sense in an Android emulator.
However, I can tell you that fingerprint support is in our roadmap. We are doing our best to have it released by the end of the year.
Regarding Smart lock and Trust agents, those feature require the Google Play Services, and they are not available in the AOSP. You can try the following and see if it suits y…