root_fear 0.0.2 copy "root_fear: ^0.0.2" to clipboard
root_fear: ^0.0.2 copied to clipboard

PlatformAndroid

Package to detect root on Android.

RootFear #

A simple package that depends on RootBeer and DetectMagiskHide to check root indication on Android Devices.

Setup #

Before using RootFear, make sure to add these lines to the <application> tag on your AndroidManifest.xml

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.example"
    xmlns:tools="http://schemas.android.com/tools">  <!-- don't forget to add this -->
    ...
    <application
        ...
        android:zygotePreloadName="app.iandis.rootfear.security.AppZygotePreload"
        tools:targetApi="q">
            <activity>
                ...
            </activity>
            <service
                android:name="app.iandis.rootfear.security.IsolatedService"
                android:exported="false"
                android:isolatedProcess="true"
                android:useAppZygote="true" />
    </application>
...
</manifest>

Usage #

void main() {
    final bool isRooted = await RootFear().isRooted;
    print('Any root indication: $isRooted');
}

Notes #

  • Supports Android SDK 21+
  • Current RootBeer version this package uses: 0.1.0
1
likes
130
pub points
1%
popularity

Publisher

unverified uploader

Package to detect root on Android.

Repository
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on root_fear