shizuku_api_plugin 1.0.2
shizuku_api_plugin: ^1.0.2 copied to clipboard
Shizuku API is the API provided by Shizuku and Sui. With Shizuku API, you can call your Java/JNI code with root/shell (ADB) identity.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add shizuku_api_pluginThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
shizuku_api_plugin: ^1.0.2Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:shizuku_api_plugin/shizuku_api.dart';
import 'package:shizuku_api_plugin/shizuku_api_method_channel.dart';
import 'package:shizuku_api_plugin/shizuku_api_platform_interface.dart';