iOS 설정
이 플러그인의 설치 단계와 전체 마크다운 가이드가 포함된 설정 프롬프트를 복사하세요.
요구 사항
“요구 사항” 섹션- iOS 15+ 대상
CLLocationSourceInformation.isSimulatedBySoftware - 호스트 앱의 위치 권한
- 현실적인 GPS 샘플링을 위해 실기기 권장
Info.plist
“Info.plist” 섹션<key>NSLocationWhenInUseUsageDescription</key><string>We verify your location has not been spoofed.</string>탐지하려는 companion spoof 앱의 선택적 URL schemes canOpenURL:
<key>LSApplicationQueriesSchemes</key><array> <string>anyto</string> <string>imyfone-anyto</string> <string>igo</string> <string>igomarkto</string> <string>fakegps</string> <string>mockgps</string> <string>pokeep</string></array>런타임에서 추가 schemes를 전달할 수도 있습니다 additionalMockAppUrlSchemes.
Developer Mode 현실 점검
“Developer Mode 현실 점검” 섹션Apple은 iOS Developer Mode 토글을 읽기 위한 공개 API를 제공하지 않습니다. 이 플러그인은 디버거 첨부와 개발 프로비저닝 지표와 같은 간접적 휴리스틱을 사용합니다. 이를 증거가 아닌 위험 신호로 취급하세요.
iMyFone AnyTo와 같은 도구는 App Store 외부에서 배포되는 Developer Mode와 companion 앱에 의존하는 경우가 많습니다. 네이티브 체크와 서버 측 사기 방지 규칙을 함께 사용하세요.
예시
“예시” 섹션import { MockLocationDetector } from '@capgo/capacitor-mock-location-detector';
const result = await MockLocationDetector.analyze({ requestLocationSample: true, additionalMockAppUrlSchemes: ['anyto', 'pokeep'],});