oneroot 0.0.4 oneroot: ^0.0.4 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.
Features #
- Android Root Detection
- IOS JailBreak Detection (coming soon)
Getting started #
To use this package, add oneroot as a dependency in your pubspec.yaml file.
Usage #
- On pubspeck.yaml
oneroot: ^0.0.4
- 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 your are running on rooted environment.
String platformRootStatus = await _onerootPlugin.getRootChecker();
//Method will return OS version.
String platformVersion = await _onerootPlugin.getRootChecker();
One Root - Android Root Detection | One Root - IOS JailBreak Detection |
-
See also from Developer