개요
개요Capacitor은 루트 디바이스 (Android) 또는 아이폰의 제재된 디바이스를 감지하는 데 사용되는 플러그인입니다.
핵심 기능
핵심 기능isRooted- root/jailbreak 감지 기본 검사 수행합니다.isRootedWithBusyBox- BusyBox 특정 검사에 기본 검사 확장합니다 (Android만).detectRootManagementApps- 알려진 루트 관리 애플리케이션 존재 여부를 감지합니다 (Android만).detectPotentiallyDangerousApps- 루트된 장치에서 흔히 발견되는 잠재적으로 위험한 애플리케이션을 감지합니다 (Android만).
공개 API
제목: "공개 API"| 메서드 | 설명 |
|---|---|
isRooted | 루트/jailbreak 감지 기본 검사 수행합니다. |
isRootedWithBusyBox | BusyBox 특정 검사에 기본 검사 확장합니다 (Android만). |
detectRootManagementApps | 알려진 루트 관리 애플리케이션 존재 여부를 감지합니다 (Android만). |
detectPotentiallyDangerousApps | 루트된 장치에서 흔히 발견되는 잠재적으로 위험한 애플리케이션을 감지합니다 (Android만). |
detectTestKeys | Android에서만 디버그/테스트 빌드 태그를 감지합니다. |
checkForBusyBoxBinary | Android에서만 기기에서 BusyBox 바이너리가 존재하는지 확인합니다. |
checkForSuBinary | Android에서만 su 바이너리가 존재하는지 확인합니다. |
checkSuExists | Android에서만 su 바이너리가 실행될 수 있는지 감지합니다. |
checkForRWPaths | Android에서만 시스템 경로를 감지합니다. |
checkForDangerousProps | Android에서만 시스템 속성을 감지합니다. |
checkForRootNative | Android에서만 RootBeer 네이티브 체크를 실행합니다. |
detectRootCloakingApps | Android에서만 루트를 숨길 수 있는 애플리케이션을 감지합니다. |
isSelinuxFlagInEnabled | Android에서만 SELinux 강제 실행 상태를 확인합니다. |
isExistBuildTags | Android에서만 OS 이미지를 감지합니다. |
doesSuperuserApkExist | Android에서만 super사용자 APK가 설치되어 있는지 감지합니다. |
isExistSUPath | 체크하는 su 안드로이드 전용 바이너리 위치 |
checkDirPermissions | Android에서 보호해야 하는 쓸 수 있는 디렉토리를 감지합니다. |
checkExecutingCommands | 실행합니다 which su 안드로이드 전용으로 루트를 감지하는 스타일 명령입니다. |
checkInstalledPackages | 안정된 패키지를 감지합니다 (안드로이드 전용). |
checkforOverTheAirCertificates | Android에서만 OTA 인증서가 조작된 것을 감지합니다. |
isRunningOnEmulator | 안드로이드 전용으로 일반적인 에뮬레이터 지문( fingerprint )을 감지합니다. |
simpleCheckEmulator | 안드로이드 전용으로 가볍게 에뮬레이터를 확인합니다. |
simpleCheckSDKBF86 | x86 에뮬레이터 지문 (Android 전용)을 감지합니다. |
simpleCheckQRREFPH | 안드로이드 전용으로 QC 참조 전화 빌드를 감지합니다. |
simpleCheckBuild | __CAPGO_KEEP_0__ |
checkGenymotion | Android 전용으로는 빌드 호스트 이상태를 감지합니다. |
checkGeneric | Android 전용으로는 Genymotion 에뮬레이터의 지문 정보를 감지합니다. |
checkGoogleSDK | Detects Google SDK emulator fingerprints (Android only). |
togetDeviceInfo | Android 전용으로는 Google __CAPGO_KEEP_0__ 에뮬레이터의 지문 정보를 감지합니다. |
isRootedWithEmulator | __CAPGO_KEEP_0__ 감지 중에 수집된 장치 정보를 반환합니다. |
isRootedWithBusyBoxWithEmulator | Android 전용으로는 에뮬레이터의 지문 정보를 사용하여 기본 감지를 확장합니다. |
getPluginVersion | Get the native Capacitor plugin version. |
원시 __CAPGO_KEEP_0__ 플러그인 버전을 가져옵니다.
진실의 근원‘진실의 근원’이라는 제목을 가진 섹션 src/definitions.ts 이 참조는 __CAPGO_KEEP_1__에서 동기화됩니다. capacitor-is-root.