oneroot 0.1.2 oneroot: ^0.1.2 copied to clipboard
Introducing our innovative root & jailbreak detection plugin called OneRoot, a powerful tool that allows you to check the part of your device security.
oneroot #
Introducing our innovative root & jailbreak detection plugin called OneRoot, a powerful tool that allows you to check the part of your device security.
As per the OWAPS standard, we have to create a way for programmatic detection.
Android | IOS |
|
|
Features #
- Android Root Detection
- IOS JailBreak Detection
Getting started #
To use this package, add oneroot as a dependency in your pubspec.yaml file.
Usage #
- On pubspeck.yaml
oneroot: ^0.1.2
- On Dart Import
import 'package:oneroot/oneroot.dart';
- On implementation of Root Detection
//init plugin object
final _onerootPlugin = Oneroot();
//Method will return "ROOTED" as a string value if you are running on a rooted environment.
String platformRootStatus = await _onerootPlugin.getRootChecker();
//Method will return the OS version.
String platformVersion = await _onerootPlugin.getPlatformVersion();
One Root - Android Root Detection | One Root - IOS JailBreak Detection |
-
See also from Developer