Popularity
1.4
Growing
Activity
3.6
-
24
4
5

Description

A simple library that can help you detect if you app is modded or tampered with. This adds a security level that makes it difficult to crack your app.

Programming language: Kotlin
Tags: Kotlin     Android     Security     Java     Library     Android-library     Tamper-detection     Modded     Cracker     Hack-detection    
Latest version: v0.0.6

Android Tamper Detector alternatives and similar packages

Based on the "Security" category

Do you think we are missing an alternative of Android Tamper Detector or a related project?

Add another 'Security' Package

README

Android Tamper Detector A simple library that can help you detect if you app is modded or tampered with. This adds a security level that makes it difficult to crack your app.

Supporting Tamper Detector

Tamper Detector is an independent project with ongoing development and support made possible thanks to donations made by [these awesome backers](BACKERS.md#sponsors). If you'd like to join them, please consider:

How to integrate into your app?

Integrating the project is simple a refined all you need to do is follow the below steps

Step 1. Add the JitPack repository to your build file. Add it in your root build.gradle at the end of repositories:

allprojects {
  repositories {
    ...
    maven { url "https://jitpack.io" }
  }
}

Step 2. Add the dependency

dependencies {
        implementation 'com.github.mukeshsolanki:Android-Tamper-Detector:<latest-version>'
}

How to use the library?

Okay seems like you integrated the library in your project but how do you use it? Well its really easy just do this in the app launch

.....
 detector =
      Detector.Builder().packageName("your actual package name get this via an api call").listener(object: OnTamperDetectionListener{
       override fun onAppTampered(errorMessage: String) {
          Log.d("onAppTampered->", errorMessage)
        }

        override fun onAppOkay() {
          Log.d("onAppTampered->", "App is okay")
        }
      })
        .with(context)
        .sha1FingerPrint("release sha 1 finger print get this via an api call as well").build()

 detector.check()
.....

You simple create a Detector object using the builder and set the details and call the check() and that should be it you will receive a call back with the details in the OnTamperDetectionListener.

To enable debug for development you can do detector.enableDebugMode(true) and detector.allowEmulators(true) That's pretty much it and your all wrapped up.

Author

Maintained by Mukesh Solanki

Contribution

GitHub contributors

License

MIT License

Copyright (c) 2019 Mukesh Solanki

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.


*Note that all licence references and agreements mentioned in the Android Tamper Detector README section above are relevant to that project's source code only.