Emulator check
This check allows you to look check if your app is running on an emulator.
More information, including the motivation for emulator detection can be found in this article:
The emulator checks are done using OS Configuration. Here is an example:
safeToRun(buildSafeToRunCheckList {
add {
// The default android emulator
banAvdEmulatorCheck()
}
add {
// Ban genymotion emulators
banGenymotionEmulatorCheck()
}
add {
// Ban bluestacks
banBluestacksEmulatorCheck()
}
})
Last modified 6mo ago