D
D
DenchikHonorm2019-08-09 21:53:19
Java
DenchikHonorm, 2019-08-09 21:53:19

How to make filters and cloaking in android app?

Good day to all, a huge question: How to make cloaking in an Android application? It is necessary that the user launching the application first checks for GEO Russia, then for a Russian IP, then checks for a SIM card, whether it is Russian or not. If these conditions are not met, the person needs to be shown the normal version of the application (website in the appendix), and if the user has a Russian IP, a Russian SIM card and a Russian GEO, he should be redirected to another site, do not tell me how to implement?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Varakosov, 2019-08-11
@thelongrunsmoke

If you do not plan to place it on Google Play, because the rules are , then the process is simple: using any GeoIP solution, determine the ownership of the address; use the TelephonyManager class to check for a +7 prefix on a phone number (on newer versions, the application should be set by default to make calls); to determine the country by location, there is a built-in Geocoder .

B
bagdaer, 2021-12-02
@bagdaer

DenchikHonorm Hello, I understand it was a long time ago, but a similar task, did it work out in the end?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question