@capgo/capacitor-is-root
Capacitor Is Root Plugin for detecting rooted (Android) or jailbroken (iOS) devices.
Overview
Section titled “Overview”Capacitor Is Root Plugin for detecting rooted (Android) or jailbroken (iOS) devices.
Core Capabilities
Section titled “Core Capabilities”isRooted- Performs the default root/jailbreak detection checks.isRootedWithBusyBox- Android でのみ BusyBox に特有のチェックを拡張します。detectRootManagementApps- Android でのみ知られている root 管理アプリケーションが存在するかどうかを検出します。detectPotentiallyDangerousApps- Android でのみ root デバイスでよく見られる危険なアプリケーションを検出します。
Public API
「Public API」というタイトルのセクション| メソッド | 説明 |
|---|---|
isRooted | デフォルトの root/jailbreak 検出チェックを実行します。 |
isRootedWithBusyBox | Android でのみ BusyBox に特有のチェックを拡張します。 |
detectRootManagementApps | Android でのみ知られている root 管理アプリケーションが存在するかどうかを検出します。 |
detectPotentiallyDangerousApps | Android でのみ root デバイスでよく見られる危険なアプリケーションを検出します。 |
detectTestKeys | Android でのみデバッグ/テストビルドのタグを検出します。 |
checkForBusyBoxBinary | デバイス上のBusyBoxバイナリが存在するかどうかを確認します (Androidのみ)。 |
checkForSuBinary | デバイス上の su バイナリが存在するかどうかを確認します (Androidのみ)。 |
checkSuExists | デバイス上の su バイナリが実行可能であるかどうかを検出します (Androidのみ)。 |
checkForRWPaths | Androidのみでシステムパスが世界に公開されているかどうかを検出します。 |
checkForDangerousProps | Androidのみで危険なシステムプロパティが存在するかどうかを検出します。 |
checkForRootNative | RootBeerのネイティブチェックを実行します (Androidのみ)。 |
detectRootCloakingApps | Androidのみでrootを隠すことができるアプリケーションが存在するかどうかを検出します。 |
isSelinuxFlagInEnabled | SELinuxの強制実行状態を確認します (Androidのみ)。 |
isExistBuildTags | OSイメージにテストビルドタグが存在するかどうかを検出します (Androidのみ)。 |
doesSuperuserApkExist | AndroidのみでスーパーユーザーAPKがインストールされているかどうかを検出します。 |
isExistSUPath | Android用のバイナリの場所を確認します。 su Android用に書き込み可能なディレクトリを検出します。 |
checkDirPermissions | Android用にrootを検出するためのスタイルコマンドを実行します。 |
checkExecutingCommands | Android用に不審なインストールされたパッケージを検出します。 which su Android用にOTA証明書を改ざんしているかどうかを検出します。 |
checkInstalledPackages | Android用に一般的なエミュレータの指紋を検出します。 |
checkforOverTheAirCertificates | Android用に軽量のエミュレータチェックを実行します。 |
isRunningOnEmulator | Android用にx86エミュレータの指紋を検出します。 |
simpleCheckEmulator | Android用にQC参考電話機のビルドを検出します。 |
simpleCheckSDKBF86 | Android用にビルドホストの不正を検出します。 |
simpleCheckQRREFPH | __CAPGO_KEEP_0__ |
simpleCheckBuild | __CAPGO_KEEP_1__ |
checkGenymotion | Genymotion エミュレータの指紋を検出 (Android 限定) |
checkGeneric | 一般的なエミュレータの指紋を検出 (Android 限定) |
checkGoogleSDK | Google SDK エミュレータの指紋を検出 (Android 限定) |
togetDeviceInfo | 検出中に収集されたデバイス情報を返します。 |
isRootedWithEmulator | エミュレータのヒューリスティックを拡張してデフォルトの検出を拡張 (Android 限定) |
isRootedWithBusyBoxWithEmulator | エミュレータのヒューリスティックを拡張してBusyBox検出を拡張 (Android 限定) |
getPluginVersion | ネイティブ Capacitor プラグインのバージョンを取得 |
真実の源
「真実の源」というセクションこのリファレンスは src/definitions.ts に capacitor-is-root.