Capacitor은 루팅된 (안드로이드) 또는 제재된 (iOS) 장치를 감지하는 Is Root 플러그인입니다.
핵심 기능
‘핵심 기능’이라는 제목의 섹션isRooted- 기본 root/jailbreak 감지 검사를 수행합니다.isRootedWithBusyBox- BusyBox 관련 특정 검사를 기본 감지에 확장합니다 (Android 전용).detectRootManagementApps- 알려진 root 관리 애플리케이션의 존재 여부를 감지합니다 (Android 전용).detectPotentiallyDangerousApps- 루트 디바이스에서 흔히 발견되는 위험한 애플리케이션을 감지합니다 (Android 전용).
공개 API
제목: 공개 API| 메서드 | 설명 |
|---|---|
isRooted | 기본 root/jailbreak 감지 검사를 수행합니다. |
isRootedWithBusyBox | BusyBox 관련 특정 검사를 기본 감지에 확장합니다 (Android 전용). |
detectRootManagementApps | 알려진 root 관리 애플리케이션의 존재 여부를 감지합니다 (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에서 superuser APK가 설치되어 있는지 감지합니다. |
isExistSUPath | 알려진 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 에뮬레이터 지문( fingerprint )을 감지합니다. |
checkGeneric | Android에서만 일반 에뮬레이터 지문( fingerprint )을 감지합니다. |
checkGoogleSDK | Android에서만 Google SDK 에뮬레이터 지문( fingerprint )을 감지합니다. |
togetDeviceInfo | 감지 중에 수집된 장치 정보를 반환합니다. |
isRootedWithEmulator | Android에서만 에뮬레이터 지능을 확장하여 기본 감지를 확장합니다. |
isRootedWithBusyBoxWithEmulator | Android에서만 에뮬레이터 지능을 확장하여 BusyBox 감지를 확장합니다. |
getPluginVersion | native Capacitor 플러그인 버전을 가져옵니다. |
진실의 근원
‘진실의 근원’이라는 제목의 섹션이 참조는 src/definitions.ts in capacitor-is-root.
Keep going from @capgo/capacitor-is-root
Section titled “Keep going from @capgo/capacitor-is-root”__CAPGO_KEEP_0__을 사용하는 경우 @capgo/capacitor-is-root __CAPGO_KEEP_0__-is-root을 사용하여 Using @capgo/capacitor-is-root for the native capability in Using @capgo/capacitor-is-root, Capgo-is-root의 제품 워크플로우 Capgo-is-root의 구현 세부 정보 Capacitor Plugins by Capgo for the implementation detail in Capacitor Plugins by Capgo, 플러그인 추가 또는 업데이트 __CAPGO_KEEP_0__ 구현 세부 정보에 대한 설명 아이오닉 엔터프라이즈 플러그인 대체 __CAPGO_KEEP_0__ 제품 워크플로에 대한 설명