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:

Emulator detection on android

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 updated