Blocking an application from working in bluestacks, youwave and other emulators

I would like to block my application from working in emulators like bluestacks / youwave etc. In any case, can I block or even determine if the user is working in bluestacks / youwave? My application has login features. Thus, these are server users, so I do not mind blocking the user on clientide / serverside while it is being blocked. Any help would be greatly appreciated.

+4
source share
1 answer

1: check the SIM card number and deny access to those who do not have them. This includes tablets, as you have stated that you want to block them.

Java:

TelephonyManager telemamanger = (TelephonyManager) getSystemService(Context.TELEPHONY_SERVICE); String getSimSerialNumber = telemamanger.getSimSerialNumber(); String getSimNumber = telemamanger.getLine1Number(); 

Manifest.xml:

 <uses-permission android:name="android.permission.READ_PHONE_STATE"/> 

2. Checking the core of the emulator.

If # 1 fails due to user modifications to their emulator, check (ro.kernel.qemu == 1). This property is read-only and will always return 1 for emulators.

+2
source

Source: https://habr.com/ru/post/1447103/


All Articles