소개
소개 섹션Capacitor은 루트 디바이스를 감지하기 위한 루트 플러그인입니다.
핵심 기능
핵심 기능 섹션isRooted- 기본 루트/자이브레이크 감지 검사를 수행합니다.isRootedWithBusyBox- BusyBox에 특정한 검사를 확장합니다 (안드로이드 전용).detectRootManagementApps- 루트 관리 애플리케이션의 존재 여부를 감지합니다 (안드로이드 전용).detectPotentiallyDangerousApps- 루트 디바이스에서 흔히 발견되는 잠재적으로 위험한 애플리케이션을 감지합니다 (안드로이드 전용).
공개 API
공개 API 섹션| 메소드 | 설명 |
|---|---|
isRooted | __CAPGO_KEEP_0__ |
isRootedWithBusyBox | __CAPGO_KEEP_0__ |
detectRootManagementApps | __CAPGO_KEEP_0__ |
detectPotentiallyDangerousApps | __CAPGO_KEEP_0__ |
detectTestKeys | __CAPGO_KEEP_0__ |
checkForBusyBoxBinary | __CAPGO_KEEP_0__ |
checkForSuBinary | __CAPGO_KEEP_0__ su __CAPGO_KEEP_0__ |
checkSuExists | __CAPGO_KEEP_0__ su __CAPGO_KEEP_0__ |
checkForRWPaths | __CAPGO_KEEP_0__ |
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 | Checks for known |
checkforOverTheAirCertificates | Android에서 OTA 인증서가 손상된 경우 감지합니다. |
isRunningOnEmulator | Android에서 일반 에뮬레이터 지문( fingerprint )을 감지합니다. |
simpleCheckEmulator | Android에서 가벼운 에뮬레이터 체크를 수행합니다. |
simpleCheckSDKBF86 | Android에서 x86 에뮬레이터 지문을 감지합니다. |
simpleCheckQRREFPH | Android에서 QC 참조 전화 빌드( build )를 감지합니다. |
simpleCheckBuild | Android에서 빌드 호스트 이상을 감지합니다. |
checkGenymotion | Android에서 Genymotion 에뮬레이터 지문을 감지합니다. |
checkGeneric | Android에서 일반 에뮬레이터 지문을 감지합니다. |
checkGoogleSDK | Android에서 Google SDK 에뮬레이터 지문을 감지합니다. |
togetDeviceInfo | 디바이스 정보를 감지한 시점에 수집한 정보를 반환합니다. |
isRootedWithEmulator | Android에서 에뮬레이터 지문( heuristic )을 사용하여 기본 감지를 확장합니다. |
isRootedWithBusyBoxWithEmulator | Android에서 에뮬레이터 지문( heuristic )을 사용하여 BusyBox 감지를 확장합니다. |
getPluginVersion | 원본 Capacitor 플러그인 버전을 가져오세요. |
진실의 근원
‘진실의 근원’이라는 제목의 섹션이 참조는 src/definitions.ts 에서 capacitor-is-root.