@capgo/capacitor-is-root
Capacitor はルートデバイスを検出するプラグインです。
Capacitor Rooted デバイス (Android) または iOS のジャイルブレント デバイスを検出するプラグインです。
基本機能
セクション「基本機能」isRooted- デフォルトの Root/Jailbreak 検出チェックを実行します。isRootedWithBusyBox- Android 限定の BusyBox 特有のチェックを拡張します。detectRootManagementApps- Android 限定の Root 管理アプリケーションを検出します。detectPotentiallyDangerousApps- Root デバイス (Android 限定) でよく見られる危険なアプリケーションを検出します。
公開 API
セクション「公開 API」| Method | Description |
|---|---|
isRooted | Performs the default root/jailbreak detection checks. |
isRootedWithBusyBox | Extends the default detection with BusyBox specific checks (Android only). |
detectRootManagementApps | Detects if known root management applications are present (Android only). |
detectPotentiallyDangerousApps | Detects potentially dangerous applications commonly found on rooted devices (Android only). |
detectTestKeys | Detects debug/test build tags (Android only). |
checkForBusyBoxBinary | Checks whether a BusyBox binary exists on the device (Android only). |
checkForSuBinary | Checks whether a su binary is present (Android only). |
checkSuExists | Detects if the su binary can be executed (Android only). |
checkForRWPaths | Android専用:世界に書き込み可能なシステムパスを検出します。 |
checkForDangerousProps | Android専用:危険なシステムプロパティを検出します。 |
checkForRootNative | Android専用:RootBeerネイティブチェックを実行します。 |
detectRootCloakingApps | Android専用:ルートを隠すことができるアプリケーションを検出します。 |
isSelinuxFlagInEnabled | Android専用:SELinuxの強制実行状態を確認します。 |
isExistBuildTags | Android専用:OSイメージにテストビルドタグが付いていますか? |
doesSuperuserApkExist | Android専用:スーパーユーザーAPKがインストールされていますか? |
isExistSUPath | Android専用:知られているバイナリの場所を検索します。 su Android専用:保護すべき書き込み可能なディレクトリを検出します。 |
checkDirPermissions | Android専用:スタイルコマンドを実行してルートを検出します。 |
checkExecutingCommands | Android専用:知られているバイナリの場所を検索します。 which su Android専用:保護すべき書き込み可能なディレクトリを検出します。 |
checkInstalledPackages | Android用の不正パッケージを検出します。 |
checkforOverTheAirCertificates | Android用のOTA証明書を改ざんしているかどうかを検出します。 |
isRunningOnEmulator | Android用の一般的なエミュレータの指紋を検出します。 |
simpleCheckEmulator | Android用の軽量エミュレータのチェックを実行します。 |
simpleCheckSDKBF86 | Android用のx86エミュレータの指紋を検出します。 |
simpleCheckQRREFPH | Android用のQC参考電話のビルドを検出します。 |
simpleCheckBuild | Android用のビルドホストの不正を検出します。 |
checkGenymotion | Android用のGenymotionエミュレータの指紋を検出します。 |
checkGeneric | Android用の一般的なエミュレータの指紋を検出します。 |
checkGoogleSDK | Android用のGoogle SDK エミュレータの指紋を検出します。 |
togetDeviceInfo | 検出中に収集されたデバイス情報を返します。 |
isRootedWithEmulator | Android用のエミュレータのヒューリスティクスを追加してデフォルトの検出を拡張します。 |
isRootedWithBusyBoxWithEmulator | AndroidのみでエミュレータのヒューリスティクスをBusyBox検出に拡張します。 |
getPluginVersion | Capacitorのネイティブプラグインのバージョンを取得します。 |
真実の源
「真実の源」セクションこのリファレンスは 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 プラグインの代替の詳細