Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

月神模拟器检测不出,6.6.1.2 #74

Open
likeadog opened this issue Aug 27, 2020 · 4 comments
Open

月神模拟器检测不出,6.6.1.2 #74

likeadog opened this issue Aug 27, 2020 · 4 comments

Comments

@likeadog
Copy link

以下为checkIsRunningInEmulator回调内容:
Test start
hardware = qcom
flavor = aosp_shamu-user
model = MI 9
manufacturer = Xiaomi
board = Xiaomi
platform = msm8084
baseBand = null
sensorNumber = 9
userAppNumber = 2
supportCamera = true
supportCameraFlash = true
supportBluetooth = true
hasLightSensor = true
cgroupResult = 2:cpu:/
1:cpuacct:/uid_10035/pid_3601

suspectCount = 3
@lamster2018
Copy link
Owner

Emulator check may not work now
模拟器厂家应该在做了很多改进,目前我的检测方案没有更新,检测效果不如以前了。

@likeadog
Copy link
Author

Emulator check may not work now
模拟器厂家应该在做了很多改进,目前我的检测方案没有更新,检测效果不如以前了。

我看了一下,应该是传感器判断这一步需要提升一下传感器个数,月神模拟器的传感器个数有9个,而代码中的判断是7个以上就不认为是模拟器。

@qinlili23333
Copy link

Emulator check may not work now
模拟器厂家应该在做了很多改进,目前我的检测方案没有更新,检测效果不如以前了。

我看了一下,应该是传感器判断这一步需要提升一下传感器个数,月神模拟器的传感器个数有9个,而代码中的判断是7个以上就不认为是模拟器。

但是也有很多传感器小于7个的正常设备,最典型的就是电视。这条实际上并不精准。

@wenwenwen888
Copy link

出现了同样的问题,请问有解决方案吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants