Skip to content

shannah/CN1JailbreakDetect

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.

CN1JailbreakDetection

A library for Codename One to detect if the device is jailbroken/rooted.

This cn1lib is a thin wrapper around DDTJailbreakDetection on iOS and rootbeer on Android. Other platforms don’t support jailbreak detection.

License

Apache 2.0

Platform support

Currently supported on iOS and Android. isJailbroken() just returns false elsewhere.

Installation

Add the CN1JailbreakDetection.cn1lib to your project through Codename One settings.

If you haven’t activated any cn1libs before in your Codename One projects, see this tutorial which explains the process.

Usage

if (JailbreakDetect.isJailbroken()) {
	// device is jailbroken
} else {
	// device is probably not jailbroken.  BUT NOT 100% sure.
}

Further Reading

Credits

  1. Created by Steve Hannah.

  2. Rootbeer created by Scott Alexander-Brown.

  3. DDTJailbreakDetection created by Thi

About

Codename One library to detect if devices if rooted/jailbroken

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published