mukeshsolanki / Android-Tamper-Detector

A simple library that can help you detect if you app is modded or tampered with

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

guardDebugger arguments mixed up in example and documentation

nano0m opened this issue · comments

In tamperdetector version 1.0.1 documentation and examples shows that first argument unit is success (no debuggers detected and second is "error" unit) yet implementation is reversed
fun guardDebugger(error: (() -> Unit) = {}, function: (() -> Unit))