Capacitor は、Androidのroot化検出またはiOSのjailbreak検出用のIs Root プラグインです。
主な機能
「主な機能」セクションisRooted- root/jailbreak 検出チェックを実行します。isRootedWithBusyBox- BusyBox に特有のチェックを追加します (Android 限定)。detectRootManagementApps- Android 限定で知られている root 管理アプリケーションが存在するかどうかを検出します。detectPotentiallyDangerousApps- Android 限定で根性を持つ可能性のあるアプリケーションを検出します。
Public API
セクション: Public API| メソッド | 説明 |
|---|---|
isRooted | root/jailbreak 検出チェックを実行します。 |
isRootedWithBusyBox | BusyBox に特有のチェックを追加します (Android 限定)。 |
detectRootManagementApps | Android 限定で知られている root 管理アプリケーションが存在するかどうかを検出します。 |
detectPotentiallyDangerousApps | Android 限定で根性を持つ可能性のあるアプリケーションを検出します。 |
detectTestKeys | Android用のデバッグ/テストビルドタグを検出します。 |
checkForBusyBoxBinary | デバイス上のBusyBoxバイナリが存在するかどうかを確認します (Androidのみ)。 |
checkForSuBinary | デバイス上の su バイナリが存在するかどうかを確認します (Androidのみ)。 |
checkSuExists | デバイス上の su バイナリが実行可能であるかどうかを検出します (Androidのみ)。 |
checkForRWPaths | Android用のシステムパスが世界中で書き込み可能であるかどうかを検出します。 |
checkForDangerousProps | Android用の危険なシステムプロパティを検出します。 |
checkForRootNative | RootBeerのネイティブチェックを実行します (Androidのみ)。 |
detectRootCloakingApps | rootを隠すことができるアプリケーションを検出します (Androidのみ)。 |
isSelinuxFlagInEnabled | SELinuxの強制実行状態を確認します (Androidのみ)。 |
isExistBuildTags | OSイメージ上のテストビルドタグを検出します (Androidのみ) |
doesSuperuserApkExist | Android専用のスーパーユーザーAPKを検出します。 |
isExistSUPath | Android専用の知られている su バイナリの場所をチェックします (Android専用)。 |
checkDirPermissions | Android専用の書き込み可能なディレクトリを検出して保護する必要があります。 |
checkExecutingCommands | Android専用のスタイルコマンドを実行してrootを検出します。 which su Android専用の疑わしいインストールされたパッケージを検出します。 |
checkInstalledPackages | Android専用のOTA証明書を改ざんしたものを検出します。 |
checkforOverTheAirCertificates | Android専用の一般的なエミュレータの指紋を検出します。 |
isRunningOnEmulator | Android専用の軽量エミュレータチェックを実行します。 |
simpleCheckEmulator | Android専用のx86エミュレータの指紋を検出します。 |
simpleCheckSDKBF86 | Android専用のQC参考電話のビルドを検出します。 |
simpleCheckQRREFPH | Android専用のエミュレータチェックを実行します。 |
simpleCheckBuild | Android専用のビルドホスト異常を検出します。 |
checkGenymotion | Android専用のGenymotionエミュレータの指紋を検出します。 |
checkGeneric | Android専用の一般的なエミュレータの指紋を検出します。 |
checkGoogleSDK | Android専用のGoogle SDK エミュレータの指紋を検出します。 |
togetDeviceInfo | 検出中に収集されたデバイス情報を返します。 |
isRootedWithEmulator | エミュレータのヒューリスティクスを使用して、デフォルトの検出を拡張します (Android専用)。 |
isRootedWithBusyBoxWithEmulator | エミュレータのヒューリスティクスを使用して、BusyBox検出を拡張します (Android専用)。 |
getPluginVersion | ネイティブ Capacitor プラグインのバージョンを取得します。 |
この参照はsyncdから src/definitions.ts in capacitor-is-root.
Capgoから続けてください@capgo/capacitor-is-root
セクション:Capgoから続けてください@capgo/capacitor-is-rootCapgoを使用している場合 @capgo/capacitor-is-root Capgoを使用してネイティブプラグインの作業を計画する場合、Capgoを Using @capgo/capacitor-is-root for the native capability in Using @capgo/capacitor-is-root, Capgo Plugin Directory for the product workflow in Capgo Plugin Directory, Capacitor Plugins by Capgo for the implementation detail in Capacitor Plugins by Capgo, プラグインの追加または更新 プラグインの追加または更新の実装詳細については Ionic Enterprise プラグインの代替 Ionic Enterprise プラグインの代替の製品ワークフローについては