7

Is there any plugin in Flutter to check if the device is rooted or not. I'm a beginner in Mobile App Development and as far as I know there are some system directories that need to be searched for su binary.

mohdahmed108
  • 111
  • 3
  • 11

1 Answers1

5

There seems to be no plugin for this at this point at https://pub.dartlang.org.

You might be able to create a plugin using native android code and Flutter Platform Channels (Platform Channels -- It's the flexible system used by Flutter that allows you to call platform-specific APIs whether available in Java or Kotlin code on Android, or in ObjectiveC or Swift code on iOS.)

Hope this helps!

Community
  • 1
  • 1
1ujn4s
  • 479
  • 3
  • 12