*What* We should expose a function that allows the end developer to check if the device running the application is an emulator.
*Why* If an app is running on an emulator, it can provide an attacker with great controller of the operating system and make gaining root access easier.
*How* We can look at how it is done in the mobile security ios template app (https://github.com/feedhenry/mobile-security-ios-template/blob/master/secure-ios-app/services/DevicetrustService.swift#L118-L124) and move it across. |
|