android app 允许环境检查,目前包括 cpu/debug/monkey/root/emulator/Vpn/多开等情况进行检测。 待完善 hook&sign&riskapp
implementation 'io.github.forevermgg:CheckEnv:1.0.6'
- hasVpn(context: Context)
- isUserAMonkey
fun checkIsRunningInEmulator(callback: EmulatorCheckCallback?) {
getContext()?.let {
CheckEmulator.getSingleInstance().readSysProperty(it, callback)
}
}
- getCpuCount
https://s01.oss.sonatype.org/#stagingProfiles;80eef41a0935dd