flutter_jailbreak_detection icon indicating copy to clipboard operation
flutter_jailbreak_detection copied to clipboard

isDevMode() method bug

Open vasil-boshnyakov opened this issue 1 year ago • 0 comments

Hello, the implementation of the method isDevMode*() has a bug:

    private fun isDevMode(): Boolean {
        return Settings.Secure.getInt(
            context.contentResolver,
            Settings.Global.DEVELOPMENT_SETTINGS_ENABLED, 0
        ) != 0
    }

should be:

    private fun isDevMode(): Boolean {
        return Settings.Global.getInt(
            context.contentResolver,
            Settings.Global.DEVELOPMENT_SETTINGS_ENABLED, 0
        ) != 0
    }

vasil-boshnyakov avatar Sep 20 '23 13:09 vasil-boshnyakov