Skip to content

@capgo/capacitor-is-root

Capacitor はルートデバイスを検出するプラグインです。

Capacitor Rooted デバイス (Android) または iOS のジャイルブレント デバイスを検出するプラグインです。

  • isRooted - デフォルトの Root/Jailbreak 検出チェックを実行します。
  • isRootedWithBusyBox - Android 限定の BusyBox 特有のチェックを拡張します。
  • detectRootManagementApps - Android 限定の Root 管理アプリケーションを検出します。
  • detectPotentiallyDangerousApps - Root デバイス (Android 限定) でよく見られる危険なアプリケーションを検出します。
MethodDescription
isRootedPerforms the default root/jailbreak detection checks.
isRootedWithBusyBoxExtends the default detection with BusyBox specific checks (Android only).
detectRootManagementAppsDetects if known root management applications are present (Android only).
detectPotentiallyDangerousAppsDetects potentially dangerous applications commonly found on rooted devices (Android only).
detectTestKeysDetects debug/test build tags (Android only).
checkForBusyBoxBinaryChecks whether a BusyBox binary exists on the device (Android only).
checkForSuBinaryChecks whether a su binary is present (Android only).
checkSuExistsDetects if the su binary can be executed (Android only).
checkForRWPathsAndroid専用:世界に書き込み可能なシステムパスを検出します。
checkForDangerousPropsAndroid専用:危険なシステムプロパティを検出します。
checkForRootNativeAndroid専用:RootBeerネイティブチェックを実行します。
detectRootCloakingAppsAndroid専用:ルートを隠すことができるアプリケーションを検出します。
isSelinuxFlagInEnabledAndroid専用:SELinuxの強制実行状態を確認します。
isExistBuildTagsAndroid専用:OSイメージにテストビルドタグが付いていますか?
doesSuperuserApkExistAndroid専用:スーパーユーザーAPKがインストールされていますか?
isExistSUPathAndroid専用:知られているバイナリの場所を検索します。 su Android専用:保護すべき書き込み可能なディレクトリを検出します。
checkDirPermissionsAndroid専用:スタイルコマンドを実行してルートを検出します。
checkExecutingCommandsAndroid専用:知られているバイナリの場所を検索します。 which su Android専用:保護すべき書き込み可能なディレクトリを検出します。
checkInstalledPackagesAndroid用の不正パッケージを検出します。
checkforOverTheAirCertificatesAndroid用のOTA証明書を改ざんしているかどうかを検出します。
isRunningOnEmulatorAndroid用の一般的なエミュレータの指紋を検出します。
simpleCheckEmulatorAndroid用の軽量エミュレータのチェックを実行します。
simpleCheckSDKBF86Android用のx86エミュレータの指紋を検出します。
simpleCheckQRREFPHAndroid用のQC参考電話のビルドを検出します。
simpleCheckBuildAndroid用のビルドホストの不正を検出します。
checkGenymotionAndroid用のGenymotionエミュレータの指紋を検出します。
checkGenericAndroid用の一般的なエミュレータの指紋を検出します。
checkGoogleSDKAndroid用のGoogle SDK エミュレータの指紋を検出します。
togetDeviceInfo検出中に収集されたデバイス情報を返します。
isRootedWithEmulatorAndroid用のエミュレータのヒューリスティクスを追加してデフォルトの検出を拡張します。
isRootedWithBusyBoxWithEmulatorAndroidのみでエミュレータのヒューリスティクスをBusyBox検出に拡張します。
getPluginVersionCapacitorのネイティブプラグインのバージョンを取得します。

このリファレンスは src/definitions.ts からsyncされています capacitor-is-root.

@capgo/capacitor-is-rootから続けてください

「@capgo/capacitor-is-rootから続けてください」セクション

Capgoを使用している場合 @capgo/capacitor-is-root をネイティブプラグインの作業計画に使用している場合、接続してください Capacitorを使用する@capgo/capacitor-is-root Capacitorを使用する@capgo/capacitor-is-root Capgo プラグインディレクトリ Capgo プラグインフローの詳細 Capacitor プラグイン(Capgo) Capacitor プラグイン(Capgo)の実装詳細 プラグインの追加または更新 プラグインの追加または更新の実装詳細 Ionic Enterprise プラグインの代替 Ionic Enterprise プラグインの代替の詳細